90 lines
2.1 KiB
YAML
90 lines
2.1 KiB
YAML
########################################
|
|
# Handlers for restarting services
|
|
#
|
|
|
|
- name: restart auditd
|
|
action: service name=auditd state=restarted
|
|
|
|
- name: restart apache
|
|
action: service name=httpd state=restarted
|
|
|
|
- name: reload apache
|
|
action: service name=httpd state=reloaded
|
|
|
|
- name: restart collectd
|
|
action: service name=collectd state=restarted
|
|
|
|
- name: restart crond
|
|
action: service name=crond state=restarted
|
|
|
|
- name: restart httpd
|
|
action: service name=httpd state=restarted
|
|
|
|
- name: reload httpd
|
|
action: service name=httpd state=reloaded
|
|
|
|
- name: restart iptables
|
|
action: service name=iptables state=restarted
|
|
|
|
- name: restart jenkins
|
|
action: service name=jenkins state=restarted
|
|
|
|
- name: restart kojid
|
|
action: service name=kojid state=restarted
|
|
|
|
- name: restart libvirtd
|
|
action: service name=libvirtd state=restarted
|
|
|
|
- name: restart lighttpd
|
|
action: service name=lighttpd state=restarted
|
|
|
|
- name: restart mailman
|
|
action: service name=mailman state=restarted
|
|
|
|
- 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 ntpd
|
|
action: service name=ntpd state=restarted
|
|
|
|
- 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
|
|
|
|
- name: restart sks-db
|
|
action: service name=sks-db state=restarted
|
|
|
|
- name: restart sks-recon
|
|
action: service name=sks-recon state=restarted
|
|
|
|
- name: restart sshd
|
|
action: service name=sshd state=restarted
|
|
|
|
- name: restart xinetd
|
|
action: service name=xinetd state=restarted
|
|
|
|
- name: restart netapproute
|
|
action: command /etc/sysconfig/network-scripts/ifup-routes eth1
|
|
|
|
- name: restart unbound
|
|
action: service name=unbound state=restarted
|
|
|
|
- name: rebuild postfix transport
|
|
command: /usr/sbin/postmap /etc/postfix/transport
|