Merge "Allow ceph role to pull images"

This commit is contained in:
Jenkins 2016-01-05 11:36:24 +00:00 committed by Gerrit Code Review
commit c8bc8fdb1b
3 changed files with 43 additions and 20 deletions
ansible/roles/ceph/tasks

@ -0,0 +1,21 @@
---
- 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: 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:
- inventory_hostname in groups['ceph-rgw']
- enable_ceph_rgw | bool

@ -1,21 +1,2 @@
---
- 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: 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:
- inventory_hostname in groups['ceph-rgw']
- enable_ceph_rgw | bool
- include: "{{ action }}.yml"

@ -0,0 +1,21 @@
---
- name: Pulling ceph-mon image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ceph_mon_image_full }}"
when: inventory_hostname in groups['ceph-mon']
- name: Pulling ceph-osd image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ceph_osd_image_full }}"
when: inventory_hostname in groups['ceph-osd']
- name: Pulling ceph-rgw image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ceph_rgw_image_full }}"
when: inventory_hostname in groups['ceph-rgw']