Ansible Redis (#173)

<!-- This change is generated by MagicModules. -->
/cc @rambleraptor
This commit is contained in:
The Magician 2019-01-28 12:08:00 -08:00 committed by Alex Stephen
parent 6cbacba697
commit 918acf47d4
6 changed files with 118 additions and 135 deletions

View file

@ -336,7 +336,7 @@ def wait_for_operation(module, response):
def wait_for_completion(status, op_result, module):
op_id = navigate_hash(op_result, ['name'])
op_uri = async_op_url(module, {'op_id': op_id})
if not status:
while not status:
raise_if_errors(op_result, ['error'], module)
time.sleep(1.0)
op_result = fetch_resource(module, op_uri)