Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible-icinga2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
github-mirror
ansible-icinga2
Commits
8d5db742
Commit
8d5db742
authored
May 11, 2018
by
Blerim Sheqa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use module yum_repository instead of custom template
parent
2f77df7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
tasks/icinga2-RedHat.yml
tasks/icinga2-RedHat.yml
+6
-3
templates/ICINGA-release.repo
templates/ICINGA-release.repo
+0
-6
No files found.
tasks/icinga2-RedHat.yml
View file @
8d5db742
...
...
@@ -2,9 +2,12 @@
-
name
:
RedHat - Add Icinga 2 repository
become
:
yes
template
:
src
:
ICINGA-release.repo
dest
:
/etc/yum.repos.d/ICINGA-release.repo
yum_repository
:
name
:
ICINGA-release
description
:
Icinga packages for EL
baseurl
:
"
{{
i2_yum_url
}}"
gpgkey
:
"
{{
i2_yum_key
}}"
gpgcheck
:
yes
when
:
i2_manage_repository
-
name
:
RedHat - Ensure icinga2 is installed
...
...
templates/ICINGA-release.repo
deleted
100644 → 0
View file @
2f77df7c
[icinga-stable-release]
name=ICINGA (stable release for epel)
baseurl={{ i2_yum_url }}
enabled=1
gpgcheck=1
gpgkey={{ i2_yum_key }}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment