Revert "tripleo-container-image: add |list to containers_commands"

It doesn't work as expected, we need to do default([]).

This reverts commit b2287480a3.

Change-Id: I6997af78f6fddac7811de67162a6b673c9897f57
This commit is contained in:
Emilien Macchi 2020-01-15 18:21:12 -05:00
parent ec7463550b
commit 556fbb8b3a
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|list + (all_containers_commands | default([]) | list) }}"
all_containers_commands: "{{ containers_commands + (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|list + (all_containers_commands | default([]) | list) }}"
all_containers_commands: "{{ containers_commands + (all_containers_commands | default([]) | list) }}"