Only copy custom fluentd filters when fluentd is enabled
Change-Id: Iedf87342eeee90d58734ba21216296f3d94f76c8 TrivialFix
This commit is contained in:
parent
4caea9d6d2
commit
7c046ee9a4
@ -137,6 +137,7 @@
|
||||
pattern: "*.conf"
|
||||
run_once: True
|
||||
register: find_custom_fluentd_filters
|
||||
when: enable_fluentd | bool
|
||||
|
||||
- name: Copying over custom fluentd filter config files
|
||||
template:
|
||||
@ -146,6 +147,7 @@
|
||||
become: true
|
||||
register: fluentd_filter_custom
|
||||
with_items: "{{ find_custom_fluentd_filters.files }}"
|
||||
when: enable_fluentd | bool
|
||||
notify:
|
||||
- Restart fluentd container
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user