Fixes parameter name in expect module examples (#78635)

pull/78651/head
gmdmi 2 years ago committed by GitHub
parent 49fdf59d1f
commit 81813b7f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,7 +90,7 @@ author: "Matt Martz (@sivel)"
EXAMPLES = r''' EXAMPLES = r'''
- name: Case insensitive password string match - name: Case insensitive password string match
ansible.builtin.expect: ansible.builtin.expect:
ansible.builtin.command: passwd username command: passwd username
responses: responses:
(?i)password: "MySekretPa$$word" (?i)password: "MySekretPa$$word"
# you don't want to show passwords in your logs # you don't want to show passwords in your logs
@ -98,7 +98,7 @@ EXAMPLES = r'''
- name: Generic question with multiple different responses - name: Generic question with multiple different responses
ansible.builtin.expect: ansible.builtin.expect:
ansible.builtin.command: /path/to/custom/command command: /path/to/custom/command
responses: responses:
Question: Question:
- response1 - response1

Loading…
Cancel
Save