Do not log contents of installed keypairs by default

This could put private key contents into the ansible log which is
undesireable.

Change-Id: Ic8e548b14e9fac26cf3b5a918479fdf8e0b24c6c
This commit is contained in:
Jonathan Rosser 2024-02-12 16:31:28 +00:00
parent e78b1fa8b8
commit 0a6ad34e60
1 changed files with 1 additions and 0 deletions

View File

@ -34,3 +34,4 @@
loop: "{{ _ssh_key_slurp.results | default([]) }}"
when: item.skipped is not defined
ignore_errors: "{{ ansible_check_mode }}"
no_log: ssh_keypairs_no_log | default(True)