using the wrong syntax or other things.. will need to create a new lvol role

This commit is contained in:
Stephen Smoogen 2019-06-06 13:43:30 +00:00
parent 70f25c9680
commit d403bf65d4

View file

@ -9,7 +9,43 @@
tags:
- nfs/server
- include_playbook: storinator.yml
## THis should be in a different playbook.
- name: create copr storage
lvol: vg=VG_nfs lv=copr-dist-git size=10t shrink=no
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- name: Create FS for copr
filesystem: fstype=xfs dev=/dev/VG_nfs/copr-dist-git
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- 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
when: inventory_hostname == 'storinator01.fedorainfracloud.org'
- name: setup /etc/exports