ceph.yml 483 B

1234567891011121314151617
  1. ---
  2. - name: apply ceph role
  3. collections:
  4. - community.aws
  5. hosts: ceph_servers
  6. vars:
  7. ansible_python_interpreter: /usr/bin/python3
  8. pre_tasks:
  9. - name: define ansible_python_interpreter group // linux distribution
  10. set_fact:
  11. ansible_python_interpreter: /usr/bin/python2
  12. when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
  13. roles:
  14. - role: ceph
  15. #vars:
  16. # rgw_frontend_port: 443
  17. # rgw_ssl: true