commit 46629c6e85463b20252d4b04948e938f070cbe5d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Mar 27 19:31:47 2019 +0100
Add collectd
roles/collectd/base/tasks/main.yml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/roles/collectd/base/tasks/main.yml b/roles/collectd/base/tasks/main.yml
index e3082d8..8848459 100644
--- a/roles/collectd/base/tasks/main.yml
+++ b/roles/collectd/base/tasks/main.yml
@@ -113,7 +113,7 @@
- name: check to see if its even installed yet
shell: semodule -l | grep fi-collectd | wc -l
register: ficgeneral_grep
- always_run: true
+ check_mode: False
changed_when: "'0' in ficgeneral_grep.stdout"
tags:
- collectd
@@ -138,7 +138,7 @@
shell: semodule -l | grep fi-pstorefs | wc -l
when: ansible_distribution_major_version|int != 6
register: ficpstorefs_grep
- always_run: true
+ check_mode: False
changed_when: "'0' in ficpstorefs_grep.stdout"
tags:
- collectd