diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-17 20:53:53 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-17 20:53:53 +0200 |
commit | 7ad2c810f6743a12a75ada1751bd098960db6846 (patch) | |
tree | a4749ca406b634e68b53c19f88536d9e581abb15 /ansible/plays | |
parent | 0ce711ed34b46940edc970e1d20a38218347c463 (diff) | |
download | infra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.gz infra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.bz2 infra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.xz infra-7ad2c810f6743a12a75ada1751bd098960db6846.zip |
danneri
Diffstat (limited to 'ansible/plays')
-rw-r--r-- | ansible/plays/danneri.yml | 13 | ||||
-rw-r--r-- | ansible/plays/files/danneri/systemd-networkd/enp1s0.network | 6 |
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 |