aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/host_vars/danneri/systemd-networkd.yml3
-rw-r--r--ansible/plays/danneri.yml3
-rw-r--r--ansible/plays/files/danneri/systemd-networkd/enp1s0.netdev1
-rw-r--r--ansible/plays/files/danneri/systemd-networkd/enp1s0.network1
4 files changed, 8 insertions, 0 deletions
diff --git a/ansible/host_vars/danneri/systemd-networkd.yml b/ansible/host_vars/danneri/systemd-networkd.yml
new file mode 100644
index 0000000..842a42e
--- /dev/null
+++ b/ansible/host_vars/danneri/systemd-networkd.yml
@@ -0,0 +1,3 @@
+systemd_networkd__files:
+ - systemd_networkd/enp1s0.netdev
+ - systemd_networkd/enp1s0.network
diff --git a/ansible/plays/danneri.yml b/ansible/plays/danneri.yml
new file mode 100644
index 0000000..47872c0
--- /dev/null
+++ b/ansible/plays/danneri.yml
@@ -0,0 +1,3 @@
+- hosts:
+ - danneri
+ roles: systemd-networkd
diff --git a/ansible/plays/files/danneri/systemd-networkd/enp1s0.netdev b/ansible/plays/files/danneri/systemd-networkd/enp1s0.netdev
new file mode 100644
index 0000000..1e0ca6a
--- /dev/null
+++ b/ansible/plays/files/danneri/systemd-networkd/enp1s0.netdev
@@ -0,0 +1 @@
+#
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..1e0ca6a
--- /dev/null
+++ b/ansible/plays/files/danneri/systemd-networkd/enp1s0.network
@@ -0,0 +1 @@
+#