diff --git a/lib/ansible/modules/network/vyos/vyos_command.py b/lib/ansible/modules/network/vyos/vyos_command.py index 207b9eda676..119efa924c4 100644 --- a/lib/ansible/modules/network/vyos/vyos_command.py +++ b/lib/ansible/modules/network/vyos/vyos_command.py @@ -212,10 +212,10 @@ def main(): break conditionals.remove(item) - if not conditionals: - break + if not conditionals: + break - time.sleep(interval) + time.sleep(interval) if conditionals: failed_conditions = [item.raw for item in conditionals]