From d9a698b6ce8a5343e6340d2f3f2a4843c0f9272f Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Jun 06 2019 13:56:46 +0000 Subject: using the wrong syntax or other things.. try list --- diff --git a/roles/nfs/server/tasks/main.yml b/roles/nfs/server/tasks/main.yml index 6a089d1..28472c3 100644 --- a/roles/nfs/server/tasks/main.yml +++ b/roles/nfs/server/tasks/main.yml @@ -24,42 +24,42 @@ - name: create 5 GB communishift logical volumes lvol: vg=VG_nfs lv=openshift-05gb-{{item}} size=5g shrink=no - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server - name: Create FS for 5 GB communishift logical volules filesystem: fstype=xfs dev=/dev/VG_nfs/openshift-05gb-{{item}} - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server - name: create 10 GB communishift logical volumes lvol: vg=VG_nfs lv=openshift-10gb-{{item}} size=10g shrink=no - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server - name: Create FS for 10 GB communishift logical volules filesystem: fstype=xfs dev=/dev/VG_nfs/openshift-10gb-{{item}} - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server - name: create 25 GB communishift logical volumes lvol: vg=VG_nfs lv=openshift-25gb-{{item}} size=25g shrink=no - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server - name: Create FS for 25 GB communishift logical volules filesystem: fstype=xfs dev=/dev/VG_nfs/openshift-25gb-{{item}} - with_items: 00 01 02 03 04 05 06 07 08 09 + with_items: ["00","01","02","03","04","05","06","07","08","09"] when: inventory_hostname == 'storinator01.fedorainfracloud.org' tags: - nfs/server