1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

sysd-netd-debian - split unmask/enable and restart

This commit is contained in:
Jerry Vonau 2020-05-01 21:22:41 -05:00
parent 784d89d3a9
commit 9ee93d7e01

View file

@ -1,4 +1,10 @@
# 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
@ -54,8 +60,6 @@
- name: Restart the systemd-networkd service
systemd:
name: systemd-networkd
enabled: yes
masked: no
state: restarted
#when: (netplan.stdout is undefined or netplan.stdout.find("yaml") == -1) and not no_net_restart
when: not no_net_restart