xoxys.iptables/handlers/main.yml

10 lines
169 B
YAML
Raw Normal View History

2017-05-17 22:54:43 +00:00
---
2018-07-06 21:18:11 +00:00
- name: Restart iptables
2017-05-17 22:54:43 +00:00
shell: sleep 2 && systemctl restart iptables
async: 1
poll: 0
ignore_errors: true
listen:
- "iptables_restart"
2018-07-07 17:37:04 +00:00
become: True