tripleo_container_manage: set log_level appropriately
If debug is enabled we want the new log level option to be debug
otherwise fallback to error like it's the default in the module.
Change-Id: I7ceed8d9720c0df8a88c7e1de9d9afd05afde166
(cherry picked from commit 98eaa0026d
)
This commit is contained in:
parent
759820d34c
commit
0fef24462a
|
@ -58,6 +58,7 @@
|
|||
managed_by: tripleo_ansible
|
||||
config_data: "{{ lookup('dict', container_data).value }}"
|
||||
log_driver: 'k8s-file'
|
||||
log_level: "{{ tripleo_container_manage_debug | ternary('debug', 'error') }}"
|
||||
log_opt: "path={{ tripleo_container_manage_log_path }}/{{ lookup('dict', container_data).key }}.log"
|
||||
memory: "{{ lookup('dict', container_data).value.mem_limit | default(omit) }}"
|
||||
memory_swap: "{{ lookup('dict', container_data).value.mem_swappiness | default(omit) }}"
|
||||
|
|
Loading…
Reference in New Issue