aboutsummaryrefslogtreecommitdiff
path: root/os/config/roles/network/templates/en.network
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 17:57:02 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-10-22 17:57:02 +0200
commit6858f17766fcd6fd0f05c43393188b79d29be5e5 (patch)
treebd8225399059557be803302d0c45e3f62010ad55 /os/config/roles/network/templates/en.network
parent5c31fbf0b12632b32912fa92be3d53b6e3902b91 (diff)
downloadinfrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.tar.gz
infrastructure-6858f17766fcd6fd0f05c43393188b79d29be5e5.zip
Rework Ansible to support ipv6
Diffstat (limited to 'os/config/roles/network/templates/en.network')
-rw-r--r--os/config/roles/network/templates/en.network9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/config/roles/network/templates/en.network b/os/config/roles/network/templates/en.network
new file mode 100644
index 0000000..b9b52e9
--- /dev/null
+++ b/os/config/roles/network/templates/en.network
@@ -0,0 +1,9 @@
+[Match]
+Name={{ interface }}
+
+[Network]
+Address={{ ipv4 }}/24
+Address={{ ipv6 }}/64
+Gateway=192.168.1.254
+DNS={{ ipv4 }}
+DNS={{ dns_server }}