Enable wlan on boot by variable instead of membership in group teacherlaptop

This commit is contained in:
Raphael Dannecker 2025-03-26 12:14:02 +01:00
parent 5092969c8e
commit a8736395c8
4 changed files with 527 additions and 528 deletions

View file

@ -21,14 +21,14 @@
[Install]
WantedBy=multi-user.target
when: "'teacherlaptop' not in group_names"
when: wlan_enable_on_boot
- name: Enable the enable-wifi service
ansible.builtin.systemd:
name: enable-wifi.service
enabled: true
daemon_reload: true
when: "'teacherlaptop' not in group_names"
when: wlan_enable_on_boot
# lmn_wlan - Initial configuration based on the WLAN variable
# When WLAN type is set to PSK