9d95df9ce2
Lint rule to make sure no module argument looking like "password"
will get logged.
Change-Id: I180b77faf7aaab57d1c48fc993e43f08c4fb16f6
Closes-Bug: #1760878
(cherry picked from commit c00ecb858d
)
22 lines
408 B
YAML
22 lines
408 B
YAML
- tasks:
|
|
|
|
- name: Fail no_log isn't used
|
|
user:
|
|
name: bidule
|
|
password: "wow"
|
|
state: absent
|
|
|
|
- name: Fail when no_log is set to False
|
|
user:
|
|
name: bidule
|
|
password: "wow"
|
|
state: absent
|
|
no_log: False
|
|
|
|
- name: Fail when no_log is set to no
|
|
user:
|
|
name: bidule
|
|
password: "wow"
|
|
state: absent
|
|
no_log: no
|