Merge "tripleo-container-manage: fix check mode" into stable/train

This commit is contained in:
Zuul 2020-03-16 16:54:20 +00:00 committed by Gerrit Code Review
commit ca74c0d641
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
var: containers_commands
- name: "Append the list of all podman commands that are run for containers with changes"
set_fact:
all_containers_commands: "{{ containers_commands + (all_containers_commands | default([]) | list) }}"
all_containers_commands: "{{ containers_commands|default([], true) + (all_containers_commands | default([]) | list) }}"
- name: "Print the list of containers which changed"
debug:

View File

@ -63,4 +63,4 @@
var: containers_commands
- name: "Append the list of all podman commands that are run for containers with changes"
set_fact:
all_containers_commands: "{{ containers_commands + (all_containers_commands | default([]) | list) }}"
all_containers_commands: "{{ containers_commands|default([], true) + (all_containers_commands | default([]) | list) }}"