summaryrefslogtreecommitdiffstats
path: root/roles/fluentd_node/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-12-07 10:24:20 -0500
committerScott Dodson <sdodson@redhat.com>2015-12-15 17:07:17 -0500
commitafe0064e01d3f6f33f323ffea7aae0eaf00b9ac2 (patch)
tree1ab5236c3948197cb8976cac91305937f45bb727 /roles/fluentd_node/tasks
parent3f2be7d987ccef8c4e157163dd9394ba6492a88c (diff)
downloadopenshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.gz
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.bz2
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.xz
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.zip
Skip yum/dnf ops when is_containerized
Diffstat (limited to 'roles/fluentd_node/tasks')
-rw-r--r--roles/fluentd_node/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/fluentd_node/tasks/main.yml b/roles/fluentd_node/tasks/main.yml
index 0c0dae973..8d34c0b19 100644
--- a/roles/fluentd_node/tasks/main.yml
+++ b/roles/fluentd_node/tasks/main.yml
@@ -6,6 +6,7 @@
# 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
- name: Verify fluentd plugin installed
command: '/opt/td-agent/embedded/bin/gem query -i fluent-plugin-kubernetes'