formatting adjusted

This commit is contained in:
Robert Kaussow 2017-05-19 16:18:21 +02:00
parent 1d60f5641b
commit 3fa6a3c5fc
6 changed files with 2 additions and 16 deletions

View File

@ -15,16 +15,6 @@ iptables_default_tail: |
-A FORWARD -j REJECT
iptables_custom_rules: []
# Example:
# iptables_custom_rules:
# - name: open_port_12345 # 'iptables_custom_rules_' will be prepended to this
# rules: '-A INPUT -p tcp --dport 12345 -j ACCEPT'
# state: present
# weight: 40
# ipversion: 4
# table: filter
#
# NOTE: 'name', 'rules' and 'state' are required, others are optional.
# By default this role deletes all iptables rules which are not managed by Ansible.
# Set this to 'yes', if you want the role to keep unmanaged rules.

View File

@ -1,5 +1,4 @@
---
- name: restart iptables
shell: sleep 2 && systemctl restart iptables
async: 1

View File

@ -1,5 +1,5 @@
---
- name: enable iptables service
- name: Enable iptables service
service:
name: iptables
enabled: yes

View File

@ -1,6 +1,5 @@
---
- name: installing iptables
- name: Install iptables package
package:
name: '{{ iptables_package }}'
state: latest

View File

@ -1,3 +1,2 @@
---
iptables_package: iptables

View File

@ -1,3 +1,2 @@
---
iptables_package: iptables-services