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

This commit is contained in:
Zuul 2020-07-14 21:01:13 +00:00 committed by Gerrit Code Review
commit 0c560a3fae
1 changed files with 4 additions and 0 deletions

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)