diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-02 14:51:02 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-02 20:57:41 +0200 |
commit | 4b79196f128a32e2bf70b5d8e04274392760cc2c (patch) | |
tree | 95a4b73019eb027ffbc06b691e8c08b556741375 /roles | |
parent | 62a942f27d63a090c10c80144ad01c1708d73a5c (diff) | |
download | labitat-ansible-4b79196f128a32e2bf70b5d8e04274392760cc2c.tar.gz labitat-ansible-4b79196f128a32e2bf70b5d8e04274392760cc2c.tar.xz labitat-ansible-4b79196f128a32e2bf70b5d8e04274392760cc2c.zip |
space_server: networkd: don't restart running networkd
..this might cut the pipe we're connected through,
and new network configuration should be tested to
work after reboot anyway
Diffstat (limited to 'roles')
-rw-r--r-- | roles/space_server/handlers/main.yml | 6 | ||||
-rw-r--r-- | roles/space_server/tasks/networkd.yml | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/roles/space_server/handlers/main.yml b/roles/space_server/handlers/main.yml index 54c8f76..ee26d53 100644 --- a/roles/space_server/handlers/main.yml +++ b/roles/space_server/handlers/main.yml @@ -5,12 +5,6 @@ state: reloaded when: not chroot -- name: restart networkd - systemd: - name: systemd-networkd.service - state: restarted - when: not chroot - - name: restart blackhole systemd: name: blackhole.service diff --git a/roles/space_server/tasks/networkd.yml b/roles/space_server/tasks/networkd.yml index fcca317..cab8cae 100644 --- a/roles/space_server/tasks/networkd.yml +++ b/roles/space_server/tasks/networkd.yml @@ -14,8 +14,6 @@ group: root mode: 0644 with_fileglob: 'networkd/network/*' - notify: - - restart networkd - name: Create systemd-networkd-wait-online drop-in directory file: |