diff --git a/ansible/roles/kolla-ansible/library/kolla_passwords.py b/ansible/roles/kolla-ansible/library/kolla_passwords.py index 9b3a215b3..4b3c0491d 100644 --- a/ansible/roles/kolla-ansible/library/kolla_passwords.py +++ b/ansible/roles/kolla-ansible/library/kolla_passwords.py @@ -181,7 +181,7 @@ def main(): module = AnsibleModule( argument_spec = dict( dest=dict(default='/etc/kolla/passwords.yml', type='str'), - overrides=dict(default={}, type='dict'), + overrides=dict(default={}, type='dict', no_log=True), sample=dict(default='/usr/share/kolla-ansible/etc_examples/kolla/passwords.yml', type='str'), src=dict(default='/etc/kolla/passwords.yml', type='str'), vault_password=dict(type='str', no_log=True), diff --git a/releasenotes/notes/kolla-passwords-overrides-no-log-57054ce64fae8143.yaml b/releasenotes/notes/kolla-passwords-overrides-no-log-57054ce64fae8143.yaml new file mode 100644 index 000000000..bae196f55 --- /dev/null +++ b/releasenotes/notes/kolla-passwords-overrides-no-log-57054ce64fae8143.yaml @@ -0,0 +1,11 @@ +--- +security: + - | + Fixes an issue where any passwords in ``kolla_ansible_custom_passwords`` + were exposed in Ansible logs. When using verbosity level 3 (``-vvv``), they + were also exposed in Ansible output. +fixes: + - | + Fixes an issue where any passwords in ``kolla_ansible_custom_passwords`` + were exposed in Ansible logs. When using verbosity level 3 (``-vvv``), they + were also exposed in Ansible output.