Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: setting up storage
- hosts: all
- tasks:
- - name: get out if no sdb exists
- debug:
- msg: something with the fail module and a when statement on the fact
- - name: debugging
- debug:
- msg: only get here is sdb exists
- - name: create partition
- debug:
- msg: create partition - parted module
- - name: create lvg
- debug:
- msg: i think lvg module
- - name: create big lv
- debug:
- msg: lv of 6GB
- when: this thing is bigger than 5G
- - name: create little lv
- debug:
- msg: lv of 3GB
- when: vgs is smaller than 5G
- - name: formatting
- - name: mount
Advertisement
Add Comment
Please, Sign In to add comment