From 425ab5598e2194806ad249680897a0182df0e48a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 2 Jan 2017 17:16:23 -0500 Subject: [PATCH] fix wait_for example --- lib/ansible/modules/utilities/logic/wait_for.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/wait_for.py b/lib/ansible/modules/utilities/logic/wait_for.py index 55f88fc8c8..00f8d0a88d 100644 --- a/lib/ansible/modules/utilities/logic/wait_for.py +++ b/lib/ansible/modules/utilities/logic/wait_for.py @@ -168,11 +168,7 @@ EXAMPLES = ''' # wait 300 seconds for port 22 to become open and contain "OpenSSH", don't assume the inventory_hostname is resolvable # and don't start checking for 10 seconds -- local_action: wait_for - port: 22 - host: "{{ ansible_ssh_host | default(inventory_hostname) }}" - search_regex: OpenSSH - delay: 10 +- local_action: wait_for port=22 host="{{ ansible_ssh_host | default(inventory_hostname) }}" search_regex=OpenSSH delay=10 ''' class TCPConnectionInfo(object):