mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
In expect module documentation add no_log
to password change example (#44436)
* Update expect.py Recommend not showing passwords in the logs +label: docsite_pr * Fix unicode quotes
This commit is contained in:
parent
a9362df668
commit
798dc4b438
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ EXAMPLES = r'''
|
||||||
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
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: Generic question with multiple different responses
|
- name: Generic question with multiple different responses
|
||||||
expect:
|
expect:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue