Provide a local guest user.

This commit is contained in:
Andreas B. Mundt 2023-10-19 21:27:48 +02:00
parent ee85c41483
commit e48c761935
7 changed files with 151 additions and 97 deletions

View file

@ -13,11 +13,15 @@
psk: "{{ wifipasswd }}"
autoconnect: true
state: present
when: not run_in_installer|default(false)|bool
when: |
not run_in_installer|default(false)|bool and
ansible_interfaces | select('search', 'wl.+') | first is defined
- name: Provide WLAN config during installation
template:
src: ssid.nmconnection.j2
dest: "/etc/NetworkManager/system-connections/{{ ssid }}.nmconnection"
mode: '0600'
when: run_in_installer|default(false)|bool
when: |
run_in_installer|default(false)|bool and
ansible_interfaces | select('search', 'wl.+') | first is defined