Fix bug preventing wait_condition from being respected when using apply (#61493)

pull/61848/head
Fabian von Feilitzsch 5 years ago committed by Will Thames
parent 223dab99ea
commit f406b8b4c4

@ -300,7 +300,7 @@ class KubernetesRawModule(KubernetesAnsibleModule):
success = True
result['result'] = k8s_obj
if wait:
success, result['result'], result['duration'] = self.wait(resource, definition, wait_sleep, wait_timeout)
success, result['result'], result['duration'] = self.wait(resource, definition, wait_sleep, wait_timeout, condition=wait_condition)
if existing:
existing = existing.to_dict()
else:

Loading…
Cancel
Save