add missing services to start/autostart
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
e106a24f23
commit
ad82a12c1d
1 changed files with 8 additions and 2 deletions
|
@ -82,5 +82,11 @@
|
||||||
- name: Override config.inc.php for the given environment
|
- name: Override config.inc.php for the given environment
|
||||||
template: src=config.inc.php dest=/usr/share/nagios/html/config.inc.php mode=0640 owner=root group=apache
|
template: src=config.inc.php dest=/usr/share/nagios/html/config.inc.php mode=0640 owner=root group=apache
|
||||||
|
|
||||||
- name: Restart and autostart nagios
|
- name: Restart and autostart services
|
||||||
service: name=nagios state=restarted enabled=yes
|
service: name={{item}} state=restarted enabled=yes
|
||||||
|
with_items:
|
||||||
|
- httpd
|
||||||
|
- nagios
|
||||||
|
- nrpe
|
||||||
|
- postfix
|
||||||
|
- rsyslog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue