diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-10-22 17:57:02 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-10-22 17:57:02 +0200 |
commit | 6858f17766fcd6fd0f05c43393188b79d29be5e5 (patch) | |
tree | bd8225399059557be803302d0c45e3f62010ad55 /os/config/roles/network/tasks | |
parent | 5c31fbf0b12632b32912fa92be3d53b6e3902b91 (diff) | |
download | infrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.tar.gz infrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.zip |
Rework Ansible to support ipv6
Diffstat (limited to 'os/config/roles/network/tasks')
-rw-r--r-- | os/config/roles/network/tasks/main.yml | 7 |
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: |