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:
parent
ec7463550b
commit
556fbb8b3a
|
@ -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:
|
||||
|
|
|
@ -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) }}"
|
||||
|
|
Loading…
Reference in New Issue