Merge "tripleo_container_manage: only run exec/create playbooks when needed" into stable/train
This commit is contained in:
commit
0c560a3fae
|
@ -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…
Reference in New Issue