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