Advertisement
sandervanvugt

Untitled

Apr 15th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. - name: setting up storage
  2. hosts: all
  3. tasks:
  4. - name: get out if no sdb exists
  5. debug:
  6. msg: something with the fail module and a when statement on the fact
  7. - name: debugging
  8. debug:
  9. msg: only get here is sdb exists
  10. - name: create partition
  11. debug:
  12. msg: create partition - parted module
  13. - name: create lvg
  14. debug:
  15. msg: i think lvg module
  16. - name: create big lv
  17. debug:
  18. msg: lv of 6GB
  19. when: this thing is bigger than 5G
  20. - name: create little lv
  21. debug:
  22. msg: lv of 3GB
  23. when: vgs is smaller than 5G
  24. - name: formatting
  25. - name: mount
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement