mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
save a daemon_reload
This commit is contained in:
parent
a581d6ebf4
commit
bdfd2b057a
1 changed files with 2 additions and 6 deletions
|
@ -70,18 +70,14 @@
|
|||
mode: 0600
|
||||
when: wan_ip != "dhcp"
|
||||
|
||||
- name: Set systemd_networkd enabled
|
||||
set_fact:
|
||||
systemd_networkd_active: True
|
||||
when: iiab_lan_iface == "br0"
|
||||
|
||||
- name: Use systemd-networkd to handle br0
|
||||
include_tasks: sysd-netd-debian.yml
|
||||
when: iiab_lan_iface == "br0"
|
||||
when: iiab_lan_iface == "br0" and not systemd_networkd_active
|
||||
|
||||
- name: Reload systemd
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
when: not iiab_lan_iface == "br0"
|
||||
|
||||
- name: Restart the NetworkManager service
|
||||
systemd:
|
||||
|
|
Loading…
Reference in a new issue