-
-
Save sc250024/c9a241640e21aa1568a3 to your computer and use it in GitHub Desktop.
Creating PVs and VGs in SaltStack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pvcreate_vacasa_diskgroup: | |
lvm.pv_present: | |
- name: '/dev/xvdb' | |
- failhard: True | |
vgcreate_vacasa_diskgroup: | |
lvm.vg_present: | |
- name: {{ grains['host'] }}-vg01 | |
- devices: '/dev/xvdb' | |
- require | |
- file: pvcreate_vacasa_diskgroup (??) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment