diff options
author | Adam Miller <admiller@redhat.com> | 2015-11-18 16:19:19 -0600 |
---|---|---|
committer | Adam Miller <admiller@redhat.com> | 2015-12-02 14:55:29 -0600 |
commit | af009a7a51d7b6f5799a14c452cc7db92727135e (patch) | |
tree | afe2cebb1e98aa52fdf9bc21f03ebdaf4aa27bdc /roles/fluentd_master/tasks | |
parent | ebf659b0c1775f9be3e52a8ef420d568656c10f9 (diff) | |
download | openshift-af009a7a51d7b6f5799a14c452cc7db92727135e.tar.gz openshift-af009a7a51d7b6f5799a14c452cc7db92727135e.tar.bz2 openshift-af009a7a51d7b6f5799a14c452cc7db92727135e.tar.xz openshift-af009a7a51d7b6f5799a14c452cc7db92727135e.zip |
Fedora changes:
- ansible bootstrap playbook for Fedora 23+
- add conditionals to handle yum vs dnf
- add Fedora OpenShift COPR
- update BYO host README for repo configs and fedora bootstrap
Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml
rebase on master, update package cache refresh handler for yum vs dnf
Fix typo in etcd README, remove unnecessary parens in openshift_node main.yml
Diffstat (limited to 'roles/fluentd_master/tasks')
-rw-r--r-- | roles/fluentd_master/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/fluentd_master/tasks/main.yml b/roles/fluentd_master/tasks/main.yml index 55cd94460..43c499b4d 100644 --- a/roles/fluentd_master/tasks/main.yml +++ b/roles/fluentd_master/tasks/main.yml @@ -4,6 +4,13 @@ yum: name: 'http://packages.treasuredata.com/2/redhat/7/x86_64/td-agent-2.2.0-0.x86_64.rpm' state: present + when: ansible_pkg_mgr == "yum" + +- name: download and install td-agent + dnf: + name: 'http://packages.treasuredata.com/2/redhat/7/x86_64/td-agent-2.2.0-0.x86_64.rpm' + state: present + when: ansible_pkg_mgr == "dnf" - name: Verify fluentd plugin installed command: '/opt/td-agent/embedded/bin/gem query -i fluent-plugin-kubernetes' |