Merge "tripleo-container-manage: fix check mode"

This commit is contained in:
Zuul 2020-01-16 11:39:07 +00:00 committed by Gerrit Code Review
commit cdbd670ff0
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,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

@ -60,4 +60,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) }}"