From a917b1e1137c1ad149cefcc73325e8901857d489 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sun, 12 Mar 2017 21:45:08 +0100 Subject: added install_arch role --- roles/install_arch/templates/ens3.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 roles/install_arch/templates/ens3.j2 (limited to 'roles/install_arch/templates') diff --git a/roles/install_arch/templates/ens3.j2 b/roles/install_arch/templates/ens3.j2 new file mode 100644 index 0000000..314bd00 --- /dev/null +++ b/roles/install_arch/templates/ens3.j2 @@ -0,0 +1,10 @@ +Connection=ethernet +Interface=ens3 +IP=static +Address=({{ ansible_default_ipv4['address'] }}/24) +{# TODO: fix /24 #} +Gateway={{ ansible_default_ipv4['gateway'] }} +IP6=static +Address6=({{ ansible_default_ipv6['address'] }}/{{ ansible_default_ipv6['prefix'] }}) +Gateway6={{ ansible_default_ipv6['gateway'] }} + -- cgit v1.2.3-54-g00ecf