aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/systemd-networkd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/systemd-networkd/tasks/main.yml')
-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: