ansible-personal/roles/common/handlers/main.yml
Alan Orth 60b8ecdd4c
Initial commit
Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-08-17 00:35:57 +03:00

15 lines
338 B
YAML

---
# file: roles/common/handlers/main.yml
- name: restart iptables
service: name=iptables state=restarted
- name: restart iptables-persistent
service: name=iptables-persistent state=restarted
- name: restart sshd
service: name={{ sshd_service_name }} state=restarted
- name: reload sysctl
command: sysctl -p /etc/sysctl.conf