Add no_log to os_user async status

When verbosity is turned up, the result of the os_user async may contain
sensitive information so we should leverage the sensitive log variable
for it.

Change-Id: I4f21b281e7c7328dd57210dab5ba6785a6c6ddd8
(cherry picked from commit 3dd0e7b8a1)
This commit is contained in:
Alex Schultz 2020-09-15 10:38:31 -06:00
parent 290e195838
commit ad369031a9
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@
loop_var: tripleo_keystone_resources_data
- name: "Check Keystone user status"
# needed because the results may have the full information when verbosity is turned up
no_log: "{{ tripleo_keystone_resources_hide_sensitive_logs | bool }}"
async_status:
jid: "{{ tripleo_keystone_resources_user_async_result_item.ansible_job_id }}"
loop: "{{ tripleo_keystone_resources_user_results.results }}"