Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fluentd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
fluentd
Commits
330300cc
Commit
330300cc
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
b7697c40
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+1
-1
1 addition, 1 deletion
defaults/main.yml
tasks/main.yml
+11
-9
11 additions, 9 deletions
tasks/main.yml
with
12 additions
and
10 deletions
defaults/main.yml
+
1
−
1
View file @
330300cc
fluentd_cert_passphrase
:
'
'
fluentd_cert_passphrase
:
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
11
−
9
View file @
330300cc
---
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment