Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
github-mirror
ansible-playbooks
Commits
b71bcf55
Commit
b71bcf55
authored
May 04, 2017
by
aflatto
Committed by
GitHub
May 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #43 from rubdos/reload
Reload icinga2 for host definition change
parents
3064c71e
77eebe0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
icinga2-ansible-add-hosts/handlers/main.yml
icinga2-ansible-add-hosts/handlers/main.yml
+5
-0
icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
+1
-1
No files found.
icinga2-ansible-add-hosts/handlers/main.yml
View file @
b71bcf55
...
...
@@ -5,3 +5,8 @@
service
:
name=icinga2
state=restarted
enabled=yes
-
name
:
reload icinga2
service
:
name=icinga2
state=reloaded
enabled=yes
icinga2-ansible-add-hosts/tasks/icinga2_add_hosts.yml
View file @
b71bcf55
...
...
@@ -7,4 +7,4 @@
mode=0644
with_items
:
"
{{
groups['all']
}}"
notify
:
-
re
start
icinga2
-
re
load
icinga2
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