1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

corrected docs

This commit is contained in:
Brian Coca 2017-06-08 13:17:53 -04:00
parent a2cff554ee
commit d325fa00cc

View file

@ -155,10 +155,10 @@ EXAMPLES = r'''
- name: Wait 300 seconds for port 22 to become open and contain "OpenSSH" - name: Wait 300 seconds for port 22 to become open and contain "OpenSSH"
wait_for: wait_for:
port: 22 port: 22
host: '{{ ansible_ssh_host | default(inventory_hostname) }}' host: '{{ (ansible_ssh_host|default(ansible_host))|default(inventory_hostname) }}'
search_regex: OpenSSH search_regex: OpenSSH
delay: 10 delay: 10
delegate_to: localhost connection: local
''' '''
import binascii import binascii