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
|
2017-11-02 17:55:20 +01:00
|
|
|
systemd: name={{ sshd_service_name }} state=reloaded
|
2014-08-16 23:35:57 +02:00
|
|
|
|
|
|
|
- name: reload sysctl
|
|
|
|
command: sysctl -p /etc/sysctl.conf
|
2015-06-07 11:42:03 +02:00
|
|
|
|
2019-10-05 11:29:30 +02:00
|
|
|
- name: restart firewalld
|
|
|
|
systemd: name=firewalld state=restarted
|