kolla-ansible/ansible/roles/ceph/tasks/upgrade.yml
SamYaple e76f862e99 Add upgrade play for ceph
Ceph is pretty easy to work with. Upgrade mons, then osds, then rgws

We want to eventually make these serial values configurable, but for
now due to cephs delicate distributed network nature it is safest to
only run 1 change at a time.

Change-Id: Icc721ab3651379c28fee853ca95f9e3ddf102998
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-ceph
2016-02-26 15:45:43 +00:00

17 lines
333 B
YAML

---
- include: config.yml
- include: start_mons.yml
serial: "1"
when: inventory_hostname in groups['ceph-mon']
- include: start_osds.yml
serial: "1"
when: inventory_hostname in groups['ceph-osd']
- include: start_rgws.yml
serial: "30%"
when:
- inventory_hostname in groups['ceph-rgw']
- enable_ceph_rgw | bool