mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
do (re)starting after applying config changes, when it makes sense
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
#- nsca-client # TODO: rhel7
|
||||
- stunnel
|
||||
|
||||
- name: Restart and autostart nagios
|
||||
service: name=nagios state=restarted enabled=yes
|
||||
|
||||
# TODO: rhel7
|
||||
#- name: Restart and autostart nsca
|
||||
# service: name=nsca state=restarted enabled=yes
|
||||
@@ -78,6 +75,9 @@
|
||||
- name: Install check_nagios_notifications cron
|
||||
cron: name="check_nagios_notifications" minute=0 hour=0 weekday=1 user=nagios job="/usr/local/bin/check_nagios_notifications.py"
|
||||
|
||||
- name: Restart and autostart nagios
|
||||
service: name=nagios state=restarted enabled=yes
|
||||
|
||||
#class nagios::server_external inherits nagios::server {
|
||||
# File['/etc/nagios/'] {
|
||||
# source => 'puppet:///nagios/nagios-external/',
|
||||
|
||||
Reference in New Issue
Block a user