Browse Source

Merge "tripleo-container-image: add |list to containers_commands" into stable/train

changes/40/705440/3
Zuul 1 week ago
parent
commit
e2139b461c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml
  2. +1
    -1
      tripleo_ansible/roles/tripleo-container-manage/tasks/podman/exec.yml

+ 1
- 1
tripleo_ansible/roles/tripleo-container-manage/tasks/podman/create.yml 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|list + (all_containers_commands | default([]) | list) }}"

- name: "Print the list of containers which changed"
debug:

+ 1
- 1
tripleo_ansible/roles/tripleo-container-manage/tasks/podman/exec.yml 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|list + (all_containers_commands | default([]) | list) }}"

Loading…
Cancel
Save