From d005032c97628c9972594b405c919a5c892ace1b Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Tue, 26 Sep 2023 00:15:19 +0100 Subject: [PATCH] create data filesystem --- infra/cloud/0001_initialise_playbook.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infra/cloud/0001_initialise_playbook.yaml b/infra/cloud/0001_initialise_playbook.yaml index fbaeaa7..4103dec 100644 --- a/infra/cloud/0001_initialise_playbook.yaml +++ b/infra/cloud/0001_initialise_playbook.yaml @@ -25,9 +25,12 @@ label: gpt name: data number: 1 - fs_type: ext4 state: present become: true + - name: Create data filesystem + community.general.filesystem: + dev: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1-part1 + fstype: ext4 - name: Mount data partition ansible.posix.mount: src: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1-part1