xoxys.iptables/tasks/install.yml

15 lines
261 B
YAML
Raw Normal View History

2017-05-17 22:54:43 +00:00
---
2018-07-06 21:18:11 +00:00
- name: Install iptables
block:
- name: Install packages
package:
name: "{{ iptables_package }}"
state: latest
2018-07-01 15:17:51 +00:00
2018-07-06 21:18:11 +00:00
- name: Enable and start service
service:
name: iptables
enabled: True
state: started
become: True