xoxys.iptables/tasks/install.yml
2018-07-06 23:18:11 +02:00

15 lines
261 B
YAML

---
- name: Install iptables
block:
- name: Install packages
package:
name: "{{ iptables_package }}"
state: latest
- name: Enable and start service
service:
name: iptables
enabled: True
state: started
become: True