From 6ef6aa8d628b0c7eeeec37d0c5b43df6d87f8b33 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Wed, 12 Jul 2017 00:49:47 +0200 Subject: iptables: use template --- roles/configure_iptables/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/configure_iptables/tasks') 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 -- cgit v1.2.3-54-g00ecf