aboutsummaryrefslogtreecommitdiff
path: root/ansible/plays
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/plays')
-rw-r--r--ansible/plays/danneri.yml13
-rw-r--r--ansible/plays/files/danneri/systemd-networkd/enp1s0.network6
2 files changed, 18 insertions, 1 deletions
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