]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/ansible: Simplify Orchestrator wait implementation
authorJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Tue, 4 Dec 2018 20:16:47 +0000 (21:16 +0100)
committerJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Mon, 10 Dec 2018 09:33:57 +0000 (10:33 +0100)
commit8bf360ec003c5c8d12a08ea39c15d04176d19770
tree8399e178f575a1b96f485941fbed36232d902909
parent84f25b025d196eb66f67cbb5491303e319afab3d
mgr/ansible: Simplify Orchestrator wait implementation

- Changed return value (list to boolean) in the ansible orchestrator wait method
- Improved and simplify the orchestrator_cli wait method using a new property, should_wait in completion objects.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
src/pybind/mgr/ansible/module.py
src/pybind/mgr/orchestrator.py
src/pybind/mgr/orchestrator_cli/module.py