summaryrefslogtreecommitdiffstats
path: root/roles/fluentd_node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-01-26 11:11:47 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-01-26 11:12:56 -0500
commitd0f5faef5393affed75d5fb00fc98f3e3b705077 (patch)
tree29db94f412caa6dfebde8995ca4d73948b85637b /roles/fluentd_node
parent9d2d123403e244bb49997c0bb498b5aca4c625b9 (diff)
downloadopenshift-d0f5faef5393affed75d5fb00fc98f3e3b705077.tar.gz
openshift-d0f5faef5393affed75d5fb00fc98f3e3b705077.tar.bz2
openshift-d0f5faef5393affed75d5fb00fc98f3e3b705077.tar.xz
openshift-d0f5faef5393affed75d5fb00fc98f3e3b705077.zip
Install cockpit, logrotate and fluentd unless host is atomic.
Diffstat (limited to 'roles/fluentd_node')
-rw-r--r--roles/fluentd_node/tasks/main.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/fluentd_node/tasks/main.yml b/roles/fluentd_node/tasks/main.yml
index 8d34c0b19..9fd908687 100644
--- a/roles/fluentd_node/tasks/main.yml
+++ b/roles/fluentd_node/tasks/main.yml
@@ -1,12 +1,12 @@
---
- fail:
msg: "fluentd node is not yet supported on atomic hosts"
- when: openshift.common.is_containerized | bool
+ when: openshift.common.is_atomic | bool
# TODO: Update fluentd install and configuration when packaging is complete
- name: download and install td-agent
action: "{{ ansible_pkg_mgr }} name='http://packages.treasuredata.com/2/redhat/7/x86_64/td-agent-2.2.0-0.x86_64.rpm' state=present"
- when: not openshift.common.is_containerized | bool
+ when: not openshift.common.is_atomic | bool
- name: Verify fluentd plugin installed
command: '/opt/td-agent/embedded/bin/gem query -i fluent-plugin-kubernetes'
@@ -55,4 +55,3 @@
name: 'td-agent'
state: started
enabled: yes
-