diff --git a/lib/ansible/modules/network/f5/bigip_wait.py b/lib/ansible/modules/network/f5/bigip_wait.py index 78ca05a504e..dc67260e162 100644 --- a/lib/ansible/modules/network/f5/bigip_wait.py +++ b/lib/ansible/modules/network/f5/bigip_wait.py @@ -105,7 +105,7 @@ except ImportError: def hard_timeout(module, want, start): elapsed = datetime.datetime.utcnow() - start module.fail_json( - want.msg or "Timeout when waiting for BIG-IP", elapsed=elapsed.seconds + msg=want.msg or "Timeout when waiting for BIG-IP", elapsed=elapsed.seconds )