We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The no-log-password rule matches against property not asking for a password.
$ ansible --version ansible 2.9.10 config file = None configured module search path = ['/home/a850411/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/a850411/virtenvs/mole3/lib/python3.6/site-packages/ansible executable location = /home/a850411/virtenvs/mole3/bin/ansible python version = 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] $ ansible-lint --version ansible-lint 5.0.9 using ansible 2.9.10
- name: Lock user user: name: dummy comment: "Dummy User" password_lock: true shell: /bin/bash
ansible-lint should not error
lint fails with no-log-password:
WARNING Listing 2 violation(s) that are fatal no-log-password: password should not be logged. tasks/main.yml:6 Task/Handler: Lock user
The text was updated successfully, but these errors were encountered:
Hi @chazzly, could you please try the latest version? I belive this was fixed in #1562
Sorry, something went wrong.
Closing as fixed.
No branches or pull requests
Summary
The no-log-password rule matches against property not asking for a password.
Issue Type
Ansible and Ansible Lint details
STEPS TO REPRODUCE
Desired Behaviour
ansible-lint should not error
Actual Behaviour
lint fails with no-log-password:
The text was updated successfully, but these errors were encountered: