common/handlers/main.yml

13 lines
322 B
YAML
Raw Normal View History

2020-01-14 01:59:13 -05:00
---
2020-01-14 03:41:24 -05:00
- name: common | Restart SSH daemon
systemd:
daemon_reload: true
name: sshd
state: restarted
2020-01-14 04:00:07 -05:00
- name: common | Load iptables rules for IPv4
shell: 'cat {{ common__conf_ipv4 }} | iptables-restore'
- name: common | Load iptables rules for IPv6
shell: 'cat {{ common__conf_ipv6 }} | ip6tables-restore'