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
2f77df7c
Commit
2f77df7c
authored
May 11, 2018
by
Blerim Sheqa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix apt repository installation
parent
b3e20b40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
tasks/icinga2-Debian.yml
tasks/icinga2-Debian.yml
+2
-4
tasks/main.yml
tasks/main.yml
+3
-3
No files found.
tasks/icinga2-Debian.yml
View file @
2f77df7c
...
...
@@ -17,10 +17,8 @@
-
name
:
Debian - Add Icinga 2 repository
become
:
yes
apt_repository
:
repo
:
{{
item.repo
}}
state
:
{{
item.state
}}
with_items
:
-
{
repo
:
"
{{
i2_apt_url
}}"
,
state
:
"
present"
}
repo
:
"
{{
i2_apt_url
}}"
state
:
present
when
:
i2_manage_repository
-
name
:
Debian - Ensure icinga2 is installed
...
...
tasks/main.yml
View file @
2f77df7c
...
...
@@ -6,7 +6,7 @@
-
name
:
Make sure Icinga 2 is started
service
:
name
:
icinga2
state
:
started
enabled
:
yes
name
:
icinga2
state
:
started
enabled
:
yes
when
:
i2_manage_service
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