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
pull/44287/merge
Daniel-Sanchez-Fabregas 6 years ago committed by Matt Martz
parent a9362df668
commit 798dc4b438

@ -77,6 +77,8 @@ EXAMPLES = r'''
command: passwd username
responses:
(?i)password: "MySekretPa$$word"
# you don't want to show passwords in your logs
no_log: true
- name: Generic question with multiple different responses
expect:

Loading…
Cancel
Save