Add no log to podman set_fact

If you run ansible with -v, the data in the set_fact task may be logged.
We don't want that for these tasks.

Change-Id: Ic6e4477c2218cf7586e70df8de7c47b798e79656
This commit is contained in:
Alex Schultz 2021-02-20 19:30:16 -07:00
parent 4dad7163f5
commit 057f41345b
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,7 @@ outputs:
- name: Install and configure Podman
block: &install_and_configure_podman
- name: Set login facts
no_log: true
set_fact:
container_registry_insecure_registries:
if:
@ -90,6 +91,7 @@ outputs:
container_default_pids_limit: {get_param: ContainerDefaultPidsLimit}
- name: Convert logins json to dict
no_log: true
set_fact:
container_registry_logins: "{{ container_registry_logins_json | from_json }}"
when:
@ -98,6 +100,7 @@ outputs:
- (container_registry_logins_json | length) > 0
- name: Set registry logins
no_log: true
set_fact:
container_registry_logins: "{{ container_registry_logins_json }}"
when: