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
f9aac4c3
Commit
f9aac4c3
authored
May 04, 2018
by
Blerim Sheqa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow custom values for yum repo and key
parent
987cef35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
defaults/main.yml
defaults/main.yml
+3
-1
tasks/icinga2-RedHat.yml
tasks/icinga2-RedHat.yml
+2
-2
templates/ICINGA-release.repo
templates/ICINGA-release.repo
+6
-0
No files found.
defaults/main.yml
View file @
f9aac4c3
---
i2_use_repository
:
true
i2_apt_key
:
"
https://packages.icinga.com/icinga.key"
i2_apt_url
:
"
deb
http://packages.icinga.com/{{
ansible_distribution|lower
}}
icinga-{{
ansible_distribution_release
}}
main"
\ No newline at end of file
i2_apt_url
:
"
deb
http://packages.icinga.com/{{
ansible_distribution|lower
}}
icinga-{{
ansible_distribution_release
}}
main"
i2_yum_key
:
"
https://packages.icinga.com/icinga.key"
i2_yum_url
:
"
http://packages.icinga.com/epel/$releasever/release/"
tasks/icinga2-RedHat.yml
View file @
f9aac4c3
...
...
@@ -2,5 +2,5 @@
-
name
:
RedHat - Add Icinga 2 repository
become
:
yes
copy
:
src=ICINGA-release.repo dest=/etc/yum.repos.d/ICINGA-release.repo
when
:
i2_use_repository
\ No newline at end of file
template
:
src=ICINGA-release.repo dest=/etc/yum.repos.d/ICINGA-release.repo
when
:
i2_use_repository
fil
es/ICINGA-release.repo
→
templat
es/ICINGA-release.repo
View file @
f9aac4c3
[icinga-stable-release]
name=ICINGA (stable release for epel)
baseurl=
http://packages.icinga.com/epel/$releasever/release/
baseurl=
{{ i2_yum_url }}
enabled=1
gpgcheck=1
gpgkey=https://packages.icinga.com/icinga.key
\ No newline at end of file
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