aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/network/tasks/main.yml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 18:55:29 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 18:55:29 +0200
commit3b75213d4077b4dbbad1fe43c22beaecf4e815d6 (patch)
treecc2c8aea67333e2df7320c9a225cd585c78421ee /os/config/roles/network/tasks/main.yml
parent5c31fbf0b12632b32912fa92be3d53b6e3902b91 (diff)
parentb53b71f750008267351d84938b4701413f045628 (diff)
downloadinfrastructure-3b75213d4077b4dbbad1fe43c22beaecf4e815d6.tar.gz
infrastructure-3b75213d4077b4dbbad1fe43c22beaecf4e815d6.zip
We now have IPv6 activated on our network interfaces!
Diffstat (limited to 'os/config/roles/network/tasks/main.yml')
-rw-r--r--os/config/roles/network/tasks/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/os/config/roles/network/tasks/main.yml b/os/config/roles/network/tasks/main.yml
index 1443e0c..caa6bff 100644
--- a/os/config/roles/network/tasks/main.yml
+++ b/os/config/roles/network/tasks/main.yml
@@ -1,8 +1,11 @@
- name: "Deploy iptablesv4 configuration"
- template: src=rules.v4.j2 dest=/etc/iptables/rules.v4
+ template: src=rules.v4 dest=/etc/iptables/rules.v4
- name: "Deploy iptablesv6 configuration"
- copy: src=rules.v6 dest=/etc/iptables/rules.v6
+ template: src=rules.v6 dest=/etc/iptables/rules.v6
+
+- name: "Deploy systemd-networkd configuration"
+ template: src=en.network dest=/etc/systemd/network/en.network
- name: "Activate IP forwarding"
sysctl: