From 5f4e63c1debf91e458350be2a8342758230a9589 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 2 Nov 2024 15:45:50 +0100 Subject: [PATCH] Set the wittgenstein MAC address --- host-wittgenstein.yml | 16 ++++++++-------- host_vars/wittgenstein.n39.eu/vars.yml | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/host-wittgenstein.yml b/host-wittgenstein.yml index 9c6112e..a51540f 100644 --- a/host-wittgenstein.yml +++ b/host-wittgenstein.yml @@ -34,14 +34,14 @@ - i2c-tools -# - name: Set MAC address for proper DHCP recognition -# # Uses mac variable from inventory -# ansible.builtin.template: -# src: templates/network-interfaces-dhcp-mac.j2 -# dest: /etc/network/interfaces.d/wittgenstein-mac -# owner: root -# group: root -# mode: '0644' + - name: Set MAC address for proper DHCP recognition + # Uses mac variable from inventory + ansible.builtin.template: + src: templates/network-interfaces-dhcp-mac.j2 + dest: /etc/network/interfaces.d/wittgenstein-mac + owner: root + group: root + mode: '0644' - name: Disable IPv6 # Because it is not working.... diff --git a/host_vars/wittgenstein.n39.eu/vars.yml b/host_vars/wittgenstein.n39.eu/vars.yml index 0fd637c..e1be7b9 100644 --- a/host_vars/wittgenstein.n39.eu/vars.yml +++ b/host_vars/wittgenstein.n39.eu/vars.yml @@ -1,4 +1,5 @@ server_admin: "admin+wittgenstein@netz39.de" +mac: "b8:27:eb:48:f1:59" ansible_python_interpreter: /usr/bin/python3 gatekeeper_user: pi data_dir: "/srv/data"