Commit 9f4f6569 authored by Dan Thomson's avatar Dan Thomson

[#1] Fix relationship with triumf mirror releases and make use of...

[#1] Fix relationship with triumf mirror releases and make use of triumf-nagios-client instead of our own custom nrpe.cfg
parent 20d633aa
Pipeline #2510 failed with stage
in 45 seconds
......@@ -8,3 +8,5 @@ galaxy_info:
- name: CentOS
versions:
- 7
dependencies:
- role: triumf-mirror-repo
......@@ -6,19 +6,3 @@
loop_control:
loop_var: package
become: yes
- name: Install triumf mirror repo
include_role:
- name: triumf-mirror-repo
- name: Install nrpe package
yum:
name: nrpe
state: latest
become: yes
- name: Install triumf-nagios-client pkg
yum:
name: triumf-nagios-client
state: latest
become: yes
......@@ -22,6 +22,27 @@
loop_control:
loop_var: file
- name: Install triumf mirror repo
import_role:
name: triumf-mirror-repo
- name: Install triumf nagios package dependencies
yum:
name: "{{ package }}"
state: latest
with_items:
- triumf-epel-release
- triumf-server
loop_control:
loop_var: package
become: yes
- name: Install triumf-nagios-client pkg
yum:
name: triumf-nagios-client
state: latest
update_cache: yes
become: yes
# - name: Install custom nrpe.cfg
# template:
# src: templates/etc/nagios/nrpe.cfg
......
packages:
- epel-release
- sudo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment