Browse Source

Merge "tripleo_container_manage: only run exec/create playbooks when needed"

tags/1.6.0
Zuul 4 weeks ago
committed by Gerrit Code Review
parent
commit
ede2f86cba
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tripleo_ansible/roles/tripleo_container_manage/tasks/podman/manage.yml

+ 4
- 0
tripleo_ansible/roles/tripleo_container_manage/tasks/podman/manage.yml View File

@@ -16,6 +16,10 @@

- name: Run containers execs asynchronously
include_tasks: podman/exec.yml
when:
- ((batched_container_data | haskey(attribute='action', value='exec') | default([])) | length > 0)

- name: Manage containers asynchronously
include_tasks: podman/create.yml
when:
- ((batched_container_data | haskey(attribute='action', reverse=True) | default([])) | length > 0)

Loading…
Cancel
Save