From c011dc8376d736504e15ccb19aed76c884750c84 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 9 Nov 2015 17:51:30 +0000 Subject: [PATCH] Fix copy pasta --- roles/collectd/base/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/collectd/base/tasks/main.yml b/roles/collectd/base/tasks/main.yml index 15502678cc..7a41f0b461 100644 --- a/roles/collectd/base/tasks/main.yml +++ b/roles/collectd/base/tasks/main.yml @@ -49,12 +49,12 @@ # apache - localhost only - pretty much any apache server - name: install collectd-apache - yum: state=present name=collectd-apache and ansible_distribution_major_version|int < 22 + yum: state=present name=collectd-apache tags: - collectd notify: - restart collectd - when: collectd_apache is defined + when: collectd_apache is defined and ansible_distribution_major_version|int < 22 - name: /etc/collectd/apache.conf copy: src=apache.conf dest=/etc/collectd.d/apache.conf