diff options
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r-- | roles/space_server/tasks/networkd.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/roles/space_server/tasks/networkd.yml b/roles/space_server/tasks/networkd.yml index ef97844..ecd5d52 100644 --- a/roles/space_server/tasks/networkd.yml +++ b/roles/space_server/tasks/networkd.yml @@ -25,12 +25,14 @@ notify: - restart networkd -# Unfortunately a drop-in file doesn't seem to work, -# so overwrite the whole service file :/ +- name: Create systemd-networkd-wait-online drop-in directory + file: + dest: '/etc/systemd/system/systemd-networkd-wait-online.service.d' + state: directory - name: Don't wait for lan and mgt interfaces to come online copy: - src: networkd/systemd-networkd-wait-online.service - dest: '/etc/systemd/system/systemd-networkd-wait-online.service' + src: networkd/no-lan-mgt.conf + dest: '/etc/systemd/system/systemd-networkd-wait-online.service.d/no-lan-mgt.conf' - name: Enable systemd-networkd systemd: |