From 49e0e190562256b70717590f41ce448f50e89c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 19 Nov 2018 17:16:00 +0100 Subject: [PATCH] rolling_update: update ceph_key task for container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the new way to create keys on containerized env as introduced by: 1098b71bda90db3dad19ac179f0ba900ccb0f953 Signed-off-by: Sébastien Han --- infrastructure-playbooks/rolling_update.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 7054bf8b6..3d417c862 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -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