2025-06-26-13-33-49: Cronjob

This commit is contained in:
lmn-client 2025-06-26 13:33:49 +02:00
commit 29049c8da1
127 changed files with 7089 additions and 0 deletions

View file

@ -0,0 +1,25 @@
---
# WPA-PSK - Configure SSID on client
- name: Configure WLAN for devices
community.general.nmcli:
conn_name: "{{ wlan_ssid }}"
type: wifi
ssid: "{{ wlan_ssid }}"
ifname: "{{ ansible_interfaces | select('search', 'wl.+') | first }}"
wifi_sec:
key-mgmt: wpa-psk
psk: "{{ wlan_password }}"
autoconnect: true
state: present
when: |
not run_in_installer|default(false)|bool and
ansible_interfaces | select('search', 'wl.+') | first is defined
- name: Provide WLAN config during installation
ansible.builtin.template:
src: ssid.nmconnection.j2
dest: "/etc/NetworkManager/system-connections/{{ wlan_ssid }}.nmconnection"
mode: '0600'
when: |
run_in_installer|default(false)|bool and
ansible_interfaces | select('search', 'wl.+') | first is defined