]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mgr: refact 'wait for all mgr to be up' task
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 6 Aug 2019 09:11:15 +0000 (11:11 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 8 Aug 2019 13:57:54 +0000 (15:57 +0200)
commit0f90ffe9dfa312b2c8caf93bd6e0c0b9c25021b4
tree128567c5803502b5c6f657e4443f139fa779be96
parentd4348da7a15d1bfc93d91707e585b6f4d3296746
mgr: refact 'wait for all mgr to be up' task

There's no need to use `shell` module here.
Instead of using `| python -c`, let's use `from_json` filter.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 5b9b8411086556fa95caa8dd1083eeeb72b5fe3c)
roles/ceph-mgr/tasks/mgr_modules.yml