fluentd: Fix getting podman labels
podman_image_info returns Config dict, not ContainerConfig. Change-Id: I9f813c90b42246c4835d7d7b18476a021d80548b
This commit is contained in:
parent
21236c2e90
commit
bdd2aa37b2
@ -84,8 +84,8 @@
|
||||
|
||||
- name: Set fluentd facts
|
||||
set_fact:
|
||||
fluentd_cmd: "{{ fluentd_labels_podman.images[0].ContainerConfig.Labels.fluentd_binary | default('td-agent') }}"
|
||||
fluentd_user: "{{ fluentd_labels_podman.images[0].ContainerConfig.Labels.fluentd_user | default('td-agent') }}"
|
||||
fluentd_cmd: "{{ fluentd_labels_podman.images[0].Config.Labels.fluentd_binary | default('td-agent') }}"
|
||||
fluentd_user: "{{ fluentd_labels_podman.images[0].Config.Labels.fluentd_user | default('td-agent') }}"
|
||||
when:
|
||||
- kolla_container_engine == "podman"
|
||||
- enable_fluentd | bool
|
||||
|
Loading…
Reference in New Issue
Block a user