File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 10
10
when :
11
11
- ansible_distribution == "Debian"
12
12
- ansible_distribution_release == "wheezy"
13
+ tags : tdagent
13
14
14
- - name : install td-agent via apt
15
- apt : pkg=td-agent update_cache=yes force=yes
15
+ - name : install td-agent and libcurl via apt
16
+ apt : pkg={{ item }} update_cache=yes force=yes
17
+ with_items :
18
+ - td-agent
19
+ - libcurl3
20
+ - libcurl3-gnutls
21
+ - libcurl4-openssl-dev
16
22
tags : tdagent
17
23
18
- - name : remove older fluent Elasticsearch plugin versions
19
- command : rm -Rf /usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.1.*
24
+ - name : remove older fluent Elasticsearch plugin versions v0.1.*
25
+ shell : rm -Rf /usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.1.*
20
26
ignore_errors : yes
27
+ tags : tdagent
28
+
29
+ - name : remove older fluent Elasticsearch plugin versions v0.2.0
30
+ command : removes=/usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.2.0 rm -Rf /usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.2.0
31
+ tags : tdagent
21
32
22
33
- name : install the fluent Elasticsearch plugin
23
- command : creates=/usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.2 .0/Gemfile /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-elasticsearch
34
+ command : creates=/usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-elasticsearch-0.3 .0/Gemfile /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-elasticsearch
24
35
tags : tdagent
25
36
26
37
- name : install the fluent tail-multiline plugin
You can’t perform that action at this time.
0 commit comments