2012-10-08 19:35:54 +00:00
|
|
|
########################################
|
|
|
|
# Handlers for restarting services
|
|
|
|
#
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart auditd
|
|
|
|
action: service name=auditd state=restarted
|
|
|
|
|
2013-05-17 15:55:25 +00:00
|
|
|
- name: restart apache
|
|
|
|
action: service name=httpd state=restarted
|
|
|
|
|
|
|
|
- name: reload apache
|
|
|
|
action: service name=httpd state=reloaded
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart collectd
|
|
|
|
action: service name=collectd state=restarted
|
|
|
|
|
|
|
|
- name: restart crond
|
|
|
|
action: service name=crond state=restarted
|
|
|
|
|
2013-05-21 19:44:28 +00:00
|
|
|
- name: restart denyhosts
|
|
|
|
action: service name=denyhosts state=restarted
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart httpd
|
|
|
|
action: service name=httpd state=restarted
|
2013-04-15 16:57:30 +00:00
|
|
|
|
2013-05-17 15:55:25 +00:00
|
|
|
- name: reload httpd
|
|
|
|
action: service name=httpd state=reloaded
|
|
|
|
|
|
|
|
- name: restart iptables
|
|
|
|
action: service name=iptables state=restarted
|
2012-10-17 19:54:24 +00:00
|
|
|
|
2013-05-23 19:57:22 +00:00
|
|
|
- name: restart jenkins
|
|
|
|
action: service name=jenkins state=restarted
|
|
|
|
|
2012-11-02 04:46:35 +00:00
|
|
|
- name: restart lighttpd
|
|
|
|
action: service name=lighttpd state=restarted
|
|
|
|
|
2013-05-17 15:55:25 +00:00
|
|
|
- name: restart mailman
|
|
|
|
action: service name=mailman state=restarted
|
2012-10-17 19:54:24 +00:00
|
|
|
|
|
|
|
- name: restart named
|
|
|
|
action: service name=named state=restarted
|
|
|
|
|
|
|
|
- name: restart nfs
|
|
|
|
action: service name=nfs state=restarted
|
|
|
|
|
|
|
|
- name: restart nfslock
|
|
|
|
action: service name=nfslock state=restarted
|
|
|
|
|
|
|
|
- name: restart nrpe
|
|
|
|
action: service name=nrpe state=restarted
|
|
|
|
|
2012-10-08 19:35:54 +00:00
|
|
|
- name: restart ntpd
|
|
|
|
action: service name=ntpd state=restarted
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart openvpn
|
|
|
|
action: service name=openvpn state=restarted
|
|
|
|
|
|
|
|
- name: restart postfix
|
|
|
|
action: service name=postfix state=restarted
|
|
|
|
|
2013-05-17 15:55:25 +00:00
|
|
|
- name: restart postgresql
|
|
|
|
service: name=postgresql state=restarted
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart rpcbind
|
|
|
|
action: service name=rpcbind state=restarted
|
|
|
|
|
|
|
|
- name: restart rpcidmapd
|
|
|
|
action: service name=rpcidmapd state=restarted
|
|
|
|
|
|
|
|
- name: restart rsyslog
|
|
|
|
action: service name=rsyslog state=restarted
|
|
|
|
|
2012-10-08 19:35:54 +00:00
|
|
|
- name: restart sshd
|
|
|
|
action: service name=sshd state=restarted
|
|
|
|
|
2013-06-04 20:25:02 +00:00
|
|
|
- name: restart supervisord
|
|
|
|
action: service name=supervisord state=restarted
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart xinetd
|
|
|
|
action: service name=xinetd state=restarted
|
2012-10-08 19:35:54 +00:00
|
|
|
|
2013-05-21 20:19:59 +00:00
|
|
|
- name: run fasclient
|
|
|
|
action: command /usr/bin/fasClient -i
|