mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
netplan needs the unmasking|enable for sysd-netd
This commit is contained in:
parent
9ee93d7e01
commit
e9f9364a90
2 changed files with 7 additions and 6 deletions
|
@ -23,6 +23,13 @@
|
|||
- systemd-networkd-wait-online
|
||||
when: systemd_networkd_active | bool
|
||||
|
||||
- name: Unmask and enable the systemd-networkd service for br0
|
||||
systemd:
|
||||
name: systemd-networkd
|
||||
enabled: yes
|
||||
masked: no
|
||||
when: network_manager_active | bool and iiab_lan_iface == "br0"
|
||||
|
||||
- name: Ensure systemd-networkd gets enabled for br0
|
||||
set_fact:
|
||||
systemd_networkd_active: True
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
# sysd-netd-debian.yml
|
||||
- name: Unmask and enable the systemd-networkd service
|
||||
systemd:
|
||||
name: systemd-networkd
|
||||
enabled: yes
|
||||
masked: no
|
||||
|
||||
- name: Copy the bridge script - Creates br0
|
||||
template:
|
||||
dest: /etc/systemd/network/IIAB-Bridge.netdev
|
||||
|
|
Loading…
Reference in a new issue