30be04ea91
Add become to all tasks that use the module "kolla_docker" Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10 Partial-Implements: blueprint ansible-specific-task-become
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
---
|
|
- name: Pulling ceph-mon image
|
|
become: true
|
|
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
|
|
become: true
|
|
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
|
|
become: true
|
|
kolla_docker:
|
|
action: "pull_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ceph_rgw_image_full }}"
|
|
when: inventory_hostname in groups['ceph-rgw']
|
|
|
|
- name: Pulling ceph-mgr image
|
|
become: true
|
|
kolla_docker:
|
|
action: "pull_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ceph_mgr_image_full }}"
|
|
when:
|
|
- inventory_hostname in groups['ceph-mgr']
|
|
|
|
- name: Pulling ceph-mds image
|
|
become: true
|
|
kolla_docker:
|
|
action: "pull_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ceph_mds_image_full }}"
|
|
when:
|
|
- enable_ceph_mds | bool
|
|
- inventory_hostname in groups['ceph-mds']
|
|
|
|
- name: Pulling ceph-nfs image
|
|
become: true
|
|
kolla_docker:
|
|
action: "pull_image"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ceph_nfs_image_full }}"
|
|
when:
|
|
- enable_ceph_nfs | bool
|
|
- inventory_hostname in groups['ceph-nfs']
|