ipa: make sure a bunch of calls do not log sensitive data

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-03-20 14:48:12 -07:00
parent 1251149241
commit 58bbbca299
5 changed files with 6 additions and 0 deletions

View file

@ -164,6 +164,7 @@
ansible.builtin.shell: set -o pipefail && echo "{{ ipa_admin_password }}" | kinit admin
delegate_to: "{{ ipa_server }}"
changed_when: false
no_log: true
# Replication agreement needs to be removed from ipa cluster
# before installing the replica
@ -249,6 +250,7 @@
set -o pipefail
echo "{{ ipa_admin_password }}" | kinit admin
changed_when: false
no_log: true
tags:
- ipa/server
- config

View file

@ -4,6 +4,7 @@
ansible.builtin.shell: echo "{{ipa_admin_password}}" | kinit admin
check_mode: no
changed_when: "1 != 1"
no_log: true
tags:
- config
- krb5

View file

@ -3,6 +3,7 @@
delegate_to: "{{ ipa_server }}"
ansible.builtin.shell: echo "{{ipa_admin_password}}" | kinit admin
check_mode: no
no_log: true
changed_when: "1 != 1"
tags:
- config

View file

@ -66,6 +66,7 @@
- name: Get admin ticket
ansible.builtin.shell: echo "{{ipa_admin_password}}" | kinit admin
check_mode: no
no_log: true
tags:
- ipsilon

View file

@ -31,6 +31,7 @@
delegate_to: "{{ ipa_server }}"
ansible.builtin.shell: echo "{{ipa_admin_password}}" | kinit admin
check_mode: no
no_log: true
changed_when: "1 != 1"
tags:
- keytab