ceph.yml 760 B

123456789101112131415161718192021222324252627
  1. ---
  2. #
  3. #A storage device is considered available if all of the following conditions are met:
  4. #
  5. #The device must have no partitions.
  6. #The device must not have any LVM state.
  7. #The device must not be mounted.
  8. #The device must not contain a file system.
  9. #The device must not contain a Ceph BlueStore OSD.
  10. #The device must be larger than 5 GB.
  11. #Ceph will not provision an OSD on a device that is not available.
  12. #
  13. # Destroy the partition table (all data!) on sdb
  14. # dd bs=1M count=1 </dev/zero >/dev/sdb
  15. #
  16. - name: apply ceph role
  17. collections:
  18. - community.aws
  19. hosts: ceph_servers
  20. vars:
  21. ansible_python_interpreter: /usr/bin/python3
  22. roles:
  23. - role: ceph
  24. vars:
  25. only_check_is_up: true
  26. # rgw_frontend_port: 443
  27. # rgw_ssl: true