kolla-ansible/ansible/roles/ceph/tasks/deploy.yml
Eduardo Gonzalez e0d37de9d0 Fixes ceph deploy gates
- Ceph images are not being built when using depends-on a kolla build
  job.
- Sync inventory files with current ones which causes ceph to fail due
  missing groups.
- Small corrections in ceph config.yml syntax.
- fix preparse the disk only once
- enable ceph nfs only when enable_ceph_nfs is true

Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Change-Id: Id0c7963bf59e2af4944834dcd16589a638e78ba5
2018-01-24 15:10:01 +08:00

40 lines
911 B
YAML

---
- include: config.yml
- include: bootstrap_mons.yml
when: inventory_hostname in groups['ceph-mon']
- include: distribute_keyrings.yml
- include: start_mons.yml
when: inventory_hostname in groups['ceph-mon']
- include: start_mgrs.yml
when: inventory_hostname in groups['ceph-mgr']
- include: start_nfss.yml
when:
- enable_ceph_nfs | bool
- inventory_hostname in groups['ceph-nfs']
- include: bootstrap_osds.yml
when: inventory_hostname in groups['ceph-osd']
- include: start_osds.yml
when: inventory_hostname in groups['ceph-osd']
- include: start_rgws.yml
when:
- enable_ceph_rgw | bool
- inventory_hostname in groups['ceph-rgw']
- include: start_rgw_keystone.yml
when:
- enable_ceph_rgw_keystone | bool
- inventory_hostname in groups['ceph-rgw']
- include: start_mdss.yml
when:
- enable_ceph_mds | bool
- inventory_hostname in groups['ceph-mds']