kolla-ansible/ansible/roles/ceph/tasks/upgrade.yml
Ethan Lynn e237319965 Always check enable_* variables first
Check enable_* variables first, then check inventory_host in
group, will help to avoid configuration errors.

Change-Id: Icdb1f50e5c911203b92ac431723620756b15f3c6
Closes-Bug: #1648376
2016-12-08 17:59:48 +08:00

14 lines
289 B
YAML

---
- include: config.yml
- include: start_mons.yml
when: inventory_hostname in groups['ceph-mon']
- 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']