From 7ad2c810f6743a12a75ada1751bd098960db6846 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 17 Sep 2024 20:53:53 +0200 Subject: danneri --- ansible/plays/danneri.yml | 13 ++++++++++++- ansible/plays/files/danneri/systemd-networkd/enp1s0.network | 6 ++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 ansible/plays/files/danneri/systemd-networkd/enp1s0.network (limited to 'ansible/plays') diff --git a/ansible/plays/danneri.yml b/ansible/plays/danneri.yml index 47872c0..2e960ee 100644 --- a/ansible/plays/danneri.yml +++ b/ansible/plays/danneri.yml @@ -1,3 +1,14 @@ - hosts: - danneri - roles: systemd-networkd + tasks: + - import_role: + name: systemd-networkd + + - meta: flush_handlers + + - become: yes + apt: + name: + - etckeeper + - import_role: + name: timezone diff --git a/ansible/plays/files/danneri/systemd-networkd/enp1s0.network b/ansible/plays/files/danneri/systemd-networkd/enp1s0.network new file mode 100644 index 0000000..7e12c2e --- /dev/null +++ b/ansible/plays/files/danneri/systemd-networkd/enp1s0.network @@ -0,0 +1,6 @@ +[Match] +Name=enp1s0 + +[Network] +DHCP=yes +IPv6AcceptRA=true -- cgit v1.2.3