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-playbooks
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-playbooks
Commits
806b5d2e
Commit
806b5d2e
authored
Oct 07, 2017
by
Nick Celebic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide option to not use public repo
parent
d954d92c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
icinga2-ansible-no-ui/defaults/main.yml
icinga2-ansible-no-ui/defaults/main.yml
+1
-0
icinga2-ansible-no-ui/tasks/icinga2_RedHat_install.yml
icinga2-ansible-no-ui/tasks/icinga2_RedHat_install.yml
+13
-10
No files found.
icinga2-ansible-no-ui/defaults/main.yml
View file @
806b5d2e
...
...
@@ -14,6 +14,7 @@ icinga2_pkg:
-
{
package
:
"
nagios-plugins"
}
-
{
package
:
"
bsd-mailx"
}
icinga2_use_public_yum_repo
:
True
icinga2_url_yum
:
"
https://packages.icinga.org/epel/ICINGA-release.repo"
icinga2_url_yum_fedora
:
"
https://packages.icinga.org/fedora/ICINGA-release.repo"
icinga2_repo_yum
:
"
/etc/yum.repos.d/ICINGA-release.repo"
...
...
icinga2-ansible-no-ui/tasks/icinga2_RedHat_install.yml
View file @
806b5d2e
---
-
name
:
Get Icinga2 Yum Key on RedHat OS family
rpm_key
:
key={{ icinga2_key }}
state=present
-
name
:
Get Public Yum Repo
block
:
-
name
:
Get Icinga2 Yum Key on RedHat OS family
rpm_key
:
key={{ icinga2_key }}
state=present
-
name
:
Get Icinga2 Yum Repo on RedHat OS family (Fedora)
get_url
:
url='{{ icinga2_url_yum_fedora }}'
dest={{ icinga2_repo_yum }}
when
:
ansible_distribution == 'Fedora'
-
name
:
Get Icinga2 Yum Repo on RedHat OS family (Fedora)
get_url
:
url='{{ icinga2_url_yum_fedora }}'
dest={{ icinga2_repo_yum }}
when
:
ansible_distribution == 'Fedora'
-
name
:
Get Icinga2 Yum Repo on RedHat OS family
get_url
:
url='{{ icinga2_url_yum }}'
dest={{ icinga2_repo_yum }}
-
name
:
Get Icinga2 Yum Repo on RedHat OS family
get_url
:
url='{{ icinga2_url_yum }}'
dest={{ icinga2_repo_yum }}
when
:
icinga2_use_public_yum_repo
-
name
:
Install Icinga2 on RedHat OS family
yum
:
name={{ item.package }}
...
...
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