]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
client: fix pool creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 30 Apr 2018 18:53:42 +0000 (20:53 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 3 May 2018 06:22:40 +0000 (08:22 +0200)
commit6fe8df627b8e4b89227e90937c847b49587d6ab6
tree9c502d0040a42eaa434d169d37e0b877d7138819
parent43e23ffe4dc0ca303e5cd124fa2231a771f26dca
client: fix pool creation

the value in `docker_exec_client_cmd` doesn't allow to check for
existing pools because it's set with a wrong value for the entrypoint
that is going to be used.
It means the check were going to fail anyway even if pools actually exist.

Using jinja syntax to set `docker_exec_cmd` allows to handle the case
where you don't have monitors in your inventory.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-client/tasks/create_users_keys.yml