Skip to content
Snippets Groups Projects
Commit 5dc79e04 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: cleanup RedHat constraints for GLances tasks

parent ef967a2d
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
name: "glances.service" name: "glances.service"
state: stopped state: stopped
when: when:
- ansible_os_family == "Debian" # - ansible_os_family == "Debian"
- glances_enabled.stdout != "disabled" - glances_enabled.stdout != "disabled"
# this is NOT idempotent, so it needs the "changed: false" stanza # this is NOT idempotent, so it needs the "changed: false" stanza
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
name: "glances.service" name: "glances.service"
enabled: false enabled: false
when: when:
- ansible_os_family == "Debian" # - ansible_os_family == "Debian"
- glances_enabled.stdout != "disabled" - glances_enabled.stdout != "disabled"
changed_when: false changed_when: false
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
- name: Glances-Server abschalten - name: Glances-Server abschalten
import_tasks: configure_glances.yml import_tasks: configure_glances.yml
when: ansible_distribution != "RedHat" # RHEL 7 still runs Glances 2.5, which doesn't come with the glances.service SystemD unit when: ansible_os_family != "RedHat" # RHEL 7 still runs Glances 2.5, which doesn't come with the glances.service SystemD unit
tags: [glances] tags: [glances]
### CGROUP FÜR CHECK_MK KONFIGURIEREN ### ### CGROUP FÜR CHECK_MK KONFIGURIEREN ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment