add fluentd service

This commit is contained in:
Pim Kunis 2023-08-02 18:07:24 +02:00
parent 3c4f505413
commit 1a745bfa22
4 changed files with 39 additions and 1 deletions

View file

@ -1,7 +1,15 @@
- name: Create fluentd config
docker_config:
name: fluentconf
data: "{{ lookup('template', '{{ role_path }}/fluent.conf.j2') }}"
use_ssh_client: true
rolling_versions: true
register: fluentconf
- name: Create elasticsearch data source config
docker_config:
name: esdatasource
data: "{{ lookup('template', '{{ role_path }}/elasticsearch.yml') }}"
data: "{{ lookup('template', '{{ role_path }}/elasticsearch.yml.j2') }}"
use_ssh_client: true
rolling_versions: true
register: esdatasource