Merge "tripleo_container_manage: disable logging for tasks using container_data" into stable/train
This commit is contained in:
commit
3b51d828ea
|
@ -27,6 +27,7 @@
|
|||
config_id=tripleo_container_manage_config_id, clean_orphans=False) }}
|
||||
|
||||
- name: "Async container create/run"
|
||||
no_log: "{{ not tripleo_container_manage_debug }}"
|
||||
async: "{{ (not ansible_check_mode | bool) | ternary('600', omit) }}"
|
||||
poll: "{{ (not ansible_check_mode | bool) | ternary('0', omit) }}"
|
||||
register: create_async_results
|
||||
|
@ -77,6 +78,7 @@
|
|||
volumes_from: "{{ lookup('dict', container_data).value.volumes_from | default([]) }}"
|
||||
|
||||
- name: "Check podman create status"
|
||||
no_log: "{{ not tripleo_container_manage_debug }}"
|
||||
async_status:
|
||||
jid: "{{ create_async_result_item.ansible_job_id }}"
|
||||
loop: "{{ create_async_results.results }}"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
when: not ansible_check_mode|bool
|
||||
|
||||
- name: "Async container exec"
|
||||
no_log: "{{ not tripleo_container_manage_debug }}"
|
||||
command:
|
||||
argv: "{{ lookup('dict', container_exec_data).value | container_exec_cmd(cli=tripleo_container_manage_cli) }}"
|
||||
async: "{{ (not ansible_check_mode | bool) | ternary('60', omit) }}"
|
||||
|
@ -33,6 +34,7 @@
|
|||
when: not ansible_check_mode|bool
|
||||
|
||||
- name: "Check podman exec status"
|
||||
no_log: "{{ not tripleo_container_manage_debug }}"
|
||||
async_status:
|
||||
jid: "{{ exec_async_result_item.ansible_job_id }}"
|
||||
loop: "{{ exec_async_results.results }}"
|
||||
|
@ -48,6 +50,7 @@
|
|||
- ansible_check_mode|bool
|
||||
block:
|
||||
- name: "Create a list of podman exec commands that are run"
|
||||
no_log: "{{ not tripleo_container_manage_debug }}"
|
||||
set_fact:
|
||||
containers_commands: >-
|
||||
{{ (containers_commands | default([])) + ([lookup('dict', container_exec_data).value |
|
||||
|
|
Loading…
Reference in New Issue