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
|
2014-03-14 15:30:32 +00:00
|
|
|
command: /usr/local/bin/conditional-restart.sh httpd httpd
|
2013-05-17 15:55:25 +00:00
|
|
|
|
|
|
|
- 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
|
|
|
|
|
2014-03-14 15:30:32 +00:00
|
|
|
- name: restart fedmsg-gateway
|
|
|
|
command: /usr/local/bin/conditional-restart.sh fedmsg-gateway fedmsg-gateway
|
|
|
|
|
|
|
|
- name: restart fedmsg-hub
|
|
|
|
command: /usr/local/bin/conditional-restart.sh fedmsg-hub fedmsg-hub
|
|
|
|
|
|
|
|
- name: restart fedmsg-irc
|
|
|
|
command: /usr/local/bin/conditional-restart.sh fedmsg-irc fedmsg-irc
|
|
|
|
|
|
|
|
- name: restart fedmsg-relay
|
|
|
|
command: /usr/local/bin/conditional-restart.sh fedmsg-relay fedmsg-relay
|
|
|
|
|
2012-10-17 19:54:24 +00:00
|
|
|
- name: restart httpd
|
2014-03-14 15:30:32 +00:00
|
|
|
command: /usr/local/bin/conditional-restart.sh httpd httpd
|
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
|
|
|
|
|
2014-01-25 19:24:19 +00:00
|
|
|
- name: restart kojid
|
|
|
|
action: service name=kojid state=restarted
|
|
|
|
|
2013-06-24 20:01:51 +00:00
|
|
|
- name: restart libvirtd
|
|
|
|
action: service name=libvirtd 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
|
|
|
|
|
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
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
2013-08-16 18:00:44 +00:00
|
|
|
- name: restart sks-db
|
|
|
|
action: service name=sks-db state=restarted
|
|
|
|
|
|
|
|
- name: restart sks-recon
|
|
|
|
action: service name=sks-recon state=restarted
|
|
|
|
|
2012-10-08 19:35:54 +00:00
|
|
|
- name: restart sshd
|
|
|
|
action: service name=sshd 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-11-18 20:32:28 +00:00
|
|
|
- name: restart netapproute
|
|
|
|
action: command /etc/sysconfig/network-scripts/ifup-routes eth1
|
2014-02-11 17:25:56 +00:00
|
|
|
|
|
|
|
- name: restart unbound
|
|
|
|
action: service name=unbound state=restarted
|
2014-03-03 19:51:44 +00:00
|
|
|
|
|
|
|
- name: rebuild postfix transport
|
|
|
|
command: /usr/sbin/postmap /etc/postfix/transport
|
2014-03-12 21:03:02 +00:00
|
|
|
|
|
|
|
- name: restart glusterd
|
|
|
|
service: name=glusterd state=restarted
|