########################################
# Handlers for restarting services
#

- name: restart auditd
  action: service name=auditd state=restarted

- 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: restart apache
  action: service name=httpd state=restarted

- name: restart lighttpd
  action: service name=lighttpd state=restarted

- name: restart iptables
  action: service name=iptables 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 nrpe
  action: service name=nrpe 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 sshd
  action: service name=sshd state=restarted

- name: restart xinetd
  action: service name=xinetd state=restarted


