rolling_update: update ceph_key task for container

Use the new way to create keys on containerized env as introduced by: 1098b71bda90db3dad19ac179f0ba900ccb0f953

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/3367/head
Sébastien Han 2018-11-19 17:16:00 +01:00 committed by mergify[bot]
parent 2814d36c93
commit 49e0e19056
1 changed files with 4 additions and 1 deletions

View File

@ -277,7 +277,10 @@
osd: allow *
mds: allow *
cluster: "{{ cluster }}"
containerized: "docker exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}"
environment:
CEPH_CONTAINER_IMAGE: "{{ ceph_docker_registry + '/' + ceph_docker_image + ':' + ceph_docker_image_tag if containerized_deployment else None }}"
CEPH_UID: "{{ ceph_uid if containerized_deployment else 'ceph' }}"
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
when:
- containerized_deployment
- cephx