xoxys.iptables/handlers/main.yml

9 lines
154 B
YAML

---
- name: restart iptables
shell: sleep 2 && systemctl restart iptables
async: 1
poll: 0
ignore_errors: true
listen:
- "iptables_restart"