|
|
@ -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
|
|
|
|