Do not dump detail of container definitions

Some containers such as keystone_bootstrap contains secret information
in the container definitions. We should not dump such details into
ansible output.

Closes-Bug: #1998181
Change-Id: I6c98afc8e0d6822199001ffd9535575a4506b82d
This commit is contained in:
Takashi Kajinami 2022-11-29 14:53:55 +09:00
parent 539caf1a78
commit 449faf71a5
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@
copy:
content: "{{ item.value | to_nice_json }}"
dest: "{{ tripleo_container_standalone_container_startup_config_dir }}/{{ tripleo_container_standalone_service }}/{{ item.key }}.json"
# NOTE(tkajinam): Some containers (eg. keystone_bootstrap) contain secrets
# in its environments. Hide the output to avoid dumping these
# to output.
no_log: true
loop: "{{ tripleo_container_standalone_container_defs | dict2items }}"
- name: Run {{ tripleo_container_standalone_service }} containers