2014-08-16 23:35:57 +02:00
|
|
|
---
|
|
|
|
# file: roles/common/handlers/main.yml
|
|
|
|
|
|
|
|
- name: restart iptables
|
|
|
|
service: name=iptables state=restarted
|
|
|
|
|
|
|
|
- name: restart iptables-persistent
|
|
|
|
service: name=iptables-persistent state=restarted
|
|
|
|
|
2015-08-22 23:01:17 +02:00
|
|
|
- name: reload sshd
|
|
|
|
service: name={{ sshd_service_name }} state=reloaded
|
2014-08-16 23:35:57 +02:00
|
|
|
|
|
|
|
- name: reload sysctl
|
|
|
|
command: sysctl -p /etc/sysctl.conf
|