Advertisement
sandervanvugt

RHCE Storage lab part 1

Sep 1st, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. ---
  2. - name: setup storage
  3. hosts: all
  4. tasks:
  5. - name: check if sdb exists
  6. debug:
  7. msg: sdb exists - look up the fact and when - probably use fail
  8. - name: configure the device
  9. debug:
  10. msg: using parted to create partition
  11. - name: create volume group
  12. debug:
  13. msg: use lvg (?) to create the volume group
  14. - name: gather facts again
  15. setup:
  16. - name: setup big lv
  17. debug:
  18. msg: use when to find out if big and create lv with lvol (?)
  19. - name: setup small lv
  20. debug:
  21. msg: another when to determine if small and create small lv
  22. - name: create the filesystem
  23. debug:
  24. msg: use filesys to create the filesystem
  25. - name: mount the filesystem
  26. debug:
  27. msg: mount the volume on a directory (persistently?)
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement