mirror of https://github.com/ceph/ceph-ansible.git
client: add a --rm option to run the container
This fixes the case where the playbook died and never removed the container. So now, once the container exits it will remove itself from the container list. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1568157 Signed-off-by: Sébastien Han <seb@redhat.com>pull/2537/head
parent
6c742376fd
commit
90e47c5fb0
|
@ -15,6 +15,7 @@
|
|||
- name: run a dummy container (sleep 300) from where we can create pool(s)/key(s)
|
||||
command: >
|
||||
docker run \
|
||||
--rm \
|
||||
-d \
|
||||
-v {{ ceph_conf_key_directory }}:{{ ceph_conf_key_directory }} \
|
||||
--name ceph-create-keys \
|
||||
|
|
Loading…
Reference in New Issue