mirror of https://github.com/ceph/ceph-ansible.git
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
parent
2814d36c93
commit
49e0e19056
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue