kolla-ansible/ansible/roles/cinder/tasks/deploy.yml
SamYaple 912bce7b3e Allow cinder role to pull images
Change-Id: Ia2e6e3c8371f7b26fb0c77989482d241567e52d1
Partially-Implements: blueprint pre-pull-images
2016-01-06 04:23:28 +00:00

28 lines
980 B
YAML

---
- include: ceph.yml
when:
- enable_ceph | bool
- inventory_hostname in groups['ceph-mon'] or
inventory_hostname in groups['cinder-api'] or
inventory_hostname in groups['cinder-volume'] or
inventory_hostname in groups['cinder-scheduler'] or
inventory_hostname in groups['cinder-backup']
- include: register.yml
when: inventory_hostname in groups['cinder-api']
- include: config.yml
when: inventory_hostname in groups['cinder-api'] or
inventory_hostname in groups['cinder-volume'] or
inventory_hostname in groups['cinder-scheduler'] or
inventory_hostname in groups['cinder-backup']
- include: bootstrap.yml
when: inventory_hostname in groups['cinder-api']
- include: start.yml
when: inventory_hostname in groups['cinder-api'] or
inventory_hostname in groups['cinder-volume'] or
inventory_hostname in groups['cinder-scheduler'] or
inventory_hostname in groups['cinder-backup']