Skip to content
Snippets Groups Projects
Commit 1e7bc499 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Make fluentd enabled configurable"

parents df4641b5 1d36adcb
No related branches found
No related tags found
No related merge requests found
......@@ -80,12 +80,16 @@
pattern: "*.conf"
run_once: True
register: find_custom_fluentd_outputs
when:
- enable_fluentd | bool
- name: Copying over custom fluentd output config files
template:
src: "{{ item.path }}"
dest: "{{ node_config_directory }}/fluentd/output/{{ item.path | basename }}"
register: fluentd_output_custom
when:
- enable_fluentd | bool
with_items: "{{ find_custom_fluentd_outputs.files }}"
notify:
- Restart fluentd container
......
......@@ -4,4 +4,6 @@
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ item.value.image }}"
when:
- item.value.enabled | bool
with_dict: "{{ common_services }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment