summaryrefslogtreecommitdiff
path: root/roles/configure_iptables/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-12 00:49:47 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-12 00:49:47 +0200
commit6ef6aa8d628b0c7eeeec37d0c5b43df6d87f8b33 (patch)
treecbc3e2f2188ac80658c13c9a03db0c646878f087 /roles/configure_iptables/tasks
parent739f97d85908baba47589bb7466a7d559b4424b2 (diff)
iptables: use template
Diffstat (limited to 'roles/configure_iptables/tasks')
-rw-r--r--roles/configure_iptables/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/configure_iptables/tasks/main.yml b/roles/configure_iptables/tasks/main.yml
index e0e6625..846eefe 100644
--- a/roles/configure_iptables/tasks/main.yml
+++ b/roles/configure_iptables/tasks/main.yml
@@ -1,6 +1,6 @@
---
- name: copy iptables.rules
- copy:
+ template:
src: iptables.rules
dest: /etc/iptables/iptables.rules
notify: reload iptables
@@ -12,7 +12,7 @@
state: started
- name: copy ip6tables.rules
- copy:
+ template:
src: ip6tables.rules
dest: /etc/iptables/ip6tables.rules
notify: reload ip6tables