Skip to content
Snippets Groups Projects
Commit 330300cc authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent b7697c40
No related branches found
No related tags found
No related merge requests found
fluentd_cert_passphrase: ''
fluentd_cert_passphrase:
---
# file: roles/fluentd/tasks/main.yml
- name: "FluentD Role"
set_fact: role_fluentd_started=true
tags: 'always'
- name: FluentD Role
set_fact:
role_fluentd_started: yes
tags:
- always
- block:
- name: "Install Plugins"
- name: Install Plugins
command: td-agent-gem install {{ item }}
with_items:
- 'fluent-plugin-elasticsearch'
- 'fluent-plugin-elasticsearch-timestamp-check'
- 'fluent-plugin-kvp-filter'
- fluent-plugin-elasticsearch
- fluent-plugin-elasticsearch-timestamp-check
- fluent-plugin-kvp-filter
- name: "Copy SSL Key"
- name: Copy SSL Key
copy:
src='{{ inventory_dir }}/files/ssl/td-agent/key.pem'
dest='/etc/ssl/td-agent/key.pem'
......@@ -22,4 +24,4 @@
group='root'
mode='644'
when: '"fluentd" not in excluded_roles and inventory_hostname in groups.logserver'
when: not excluded_roles or "fluentd" not in excluded_roles and inventory_hostname in groups.logserver
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