Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: setup storage
- hosts: all
- tasks:
- - name: check if sdb exists
- debug:
- msg: sdb exists - look up the fact and when - probably use fail
- - name: configure the device
- debug:
- msg: using parted to create partition
- - name: create volume group
- debug:
- msg: use lvg (?) to create the volume group
- - name: gather facts again
- setup:
- - name: setup big lv
- debug:
- msg: use when to find out if big and create lv with lvol (?)
- - name: setup small lv
- debug:
- msg: another when to determine if small and create small lv
- - name: create the filesystem
- debug:
- msg: use filesys to create the filesystem
- - name: mount the filesystem
- debug:
- msg: mount the volume on a directory (persistently?)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement