infra-role-open-bounty/handlers/main.yml

7 lines
141 B
YAML

---
- name: Save iptables rules
shell: iptables-save > /etc/iptables/rules.v4
- name: Restart nginx
service: name=nginx state=restarted