1
0
Fork 0
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:
Jerry Vonau 2020-05-01 21:35:49 -05:00
parent 9ee93d7e01
commit e9f9364a90
2 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -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