b51eeed89e
include is marked as deprecated since ansible 2.4[0] [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Co-Authored-By: confi-surya <singh.surya64mnnit@gmail.com> Change-Id: Ic9d71e1865d1c728890625aeddf424a5734c0a8a
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
---
|
|
- include_tasks: config.yml
|
|
|
|
- include_tasks: bootstrap_mons.yml
|
|
when: inventory_hostname in groups['ceph-mon']
|
|
|
|
- include_tasks: distribute_keyrings.yml
|
|
|
|
- include_tasks: start_mons.yml
|
|
when: inventory_hostname in groups['ceph-mon']
|
|
|
|
- include_tasks: start_mgrs.yml
|
|
when: inventory_hostname in groups['ceph-mgr']
|
|
|
|
- include_tasks: start_ceph_dashboard.yml
|
|
when:
|
|
- enable_ceph_dashboard | bool
|
|
- inventory_hostname in groups['ceph-mon']
|
|
|
|
- include_tasks: start_nfss.yml
|
|
when:
|
|
- enable_ceph_nfs | bool
|
|
- inventory_hostname in groups['ceph-nfs']
|
|
|
|
- name: configuring client.admin caps
|
|
kolla_ceph_keyring:
|
|
name: client.admin
|
|
caps: "{{ ceph_client_admin_keyring_caps }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups['ceph-mon'][0] }}"
|
|
|
|
- include_tasks: bootstrap_osds.yml
|
|
when: inventory_hostname in groups['ceph-osd']
|
|
|
|
- include_tasks: start_osds.yml
|
|
when: inventory_hostname in groups['ceph-osd']
|
|
|
|
- include_tasks: start_rgws.yml
|
|
when:
|
|
- enable_ceph_rgw | bool
|
|
- inventory_hostname in groups['ceph-rgw']
|
|
|
|
- include_tasks: start_rgw_keystone.yml
|
|
when:
|
|
- enable_ceph_rgw_keystone | bool
|
|
- inventory_hostname in groups['ceph-rgw']
|
|
|
|
- include_tasks: start_mdss.yml
|
|
when:
|
|
- enable_ceph_mds | bool
|
|
- inventory_hostname in groups['ceph-mds']
|