Skip to content

Commit

Permalink
[monitoring_plugins] fix overwrite issue of variable. (Icinga#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayontour authored Mar 27, 2024
1 parent 566a283 commit 869cf11
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions roles/monitoring_plugins/tasks/install_on_RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
---

- name: Activate epel repository
include_role:
name: icinga.icinga.repos
vars:
icinga_repo_epel: true
icinga_repo_stable: false
icinga_repo_testing: false
icinga_repo_snapshot: false
when: icinga_monitoring_plugins_epel
when: icinga_monitoring_plugins_epel|bool == true
ansible.builtin.yum:
name: epel-release
state: present
when: icinga_monitoring_plugins_epel|bool

- name: Yum - install requested packages
become: yes
Expand Down

0 comments on commit 869cf11

Please sign in to comment.