ansible-personal/roles/common/handlers/main.yml

18 lines
405 B
YAML
Raw Normal View History

---
# 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: reload sshd
service: name={{ sshd_service_name }} state=reloaded
- name: reload sysctl
command: sysctl -p /etc/sysctl.conf
- name: restart firewalld
service: name=firewalld state=restarted