Skip to content
Snippets Groups Projects
Commit cba75b40 authored by SamYaple's avatar SamYaple
Browse files

Allow ceph role to pull images

Change-Id: I7176bdc897e07f28684eedffb3c59e407eba322e
Partially-Implements: blueprint pre-pull-images
parent 462e8a3b
No related branches found
No related tags found
No related merge requests found
---
- 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: 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"
---
- 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']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment