aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/systemd-networkd/tasks
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:53:53 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:53:53 +0200
commit7ad2c810f6743a12a75ada1751bd098960db6846 (patch)
treea4749ca406b634e68b53c19f88536d9e581abb15 /ansible/roles/systemd-networkd/tasks
parent0ce711ed34b46940edc970e1d20a38218347c463 (diff)
downloadinfra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.gz
infra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.bz2
infra-7ad2c810f6743a12a75ada1751bd098960db6846.tar.xz
infra-7ad2c810f6743a12a75ada1751bd098960db6846.zip
danneri
Diffstat (limited to 'ansible/roles/systemd-networkd/tasks')
-rw-r--r--ansible/roles/systemd-networkd/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/systemd-networkd/tasks/main.yml b/ansible/roles/systemd-networkd/tasks/main.yml
index 0e8856b..aed4168 100644
--- a/ansible/roles/systemd-networkd/tasks/main.yml
+++ b/ansible/roles/systemd-networkd/tasks/main.yml
@@ -3,6 +3,13 @@
name: systemd-networkd
state: started
enabled: yes
+- name: mkdir /etc/systemd/network
+ become: yes
+ file:
+ path: "/etc/systemd/network"
+ state: directory
+ owner: systemd-network
+ group: systemd-network
- become: yes
loop: "{{ systemd_networkd__files | default([]) }}"
template: