Move migration from IWD to WPA-supplicant to role
To ensure that migration only runs when EAP-TLS certificate is installed correctly
This commit is contained in:
parent
f965f4466c
commit
4dafbd8b85
2 changed files with 16 additions and 25 deletions
|
@ -382,31 +382,6 @@
|
||||||
- /etc/systemd/network/wlan-dhcp.network
|
- /etc/systemd/network/wlan-dhcp.network
|
||||||
- /etc/NetworkManager/system-connections/FVS-devices.nmconnection
|
- /etc/NetworkManager/system-connections/FVS-devices.nmconnection
|
||||||
|
|
||||||
- name: Enable wpa-supplicant
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: wpa_supplicant.service
|
|
||||||
enabled: true
|
|
||||||
tags:
|
|
||||||
- never
|
|
||||||
- wlan_8021x
|
|
||||||
|
|
||||||
- name: Disable iwd
|
|
||||||
ansible.builtin.systemd:
|
|
||||||
name: iwd.service
|
|
||||||
enabled: false
|
|
||||||
tags:
|
|
||||||
- never
|
|
||||||
- wlan_8021x
|
|
||||||
|
|
||||||
- name: Remove deprecated NetworkManager config
|
|
||||||
ansible.builtin.blockinfile:
|
|
||||||
path: /etc/NetworkManager/NetworkManager.conf
|
|
||||||
state: absent
|
|
||||||
tags:
|
|
||||||
- never
|
|
||||||
- wlan_8021x
|
|
||||||
|
|
||||||
|
|
||||||
- name: Apply roles that must run serial
|
- name: Apply roles that must run serial
|
||||||
hosts: all
|
hosts: all
|
||||||
remote_user: ansible
|
remote_user: ansible
|
||||||
|
|
|
@ -94,3 +94,19 @@
|
||||||
802-1x.private-key /etc/ssl/private/{{ wlan_ssid }}.key
|
802-1x.private-key /etc/ssl/private/{{ wlan_ssid }}.key
|
||||||
802-1x.private-key-password dummy
|
802-1x.private-key-password dummy
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
# Temporary fix used to migrate from IWD to WPA-Supplicant - Will be removed later
|
||||||
|
- name: Enable wpa-supplicant
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: wpa_supplicant.service
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
- name: Disable iwd
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: iwd.service
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
- name: Remove deprecated NetworkManager config
|
||||||
|
ansible.builtin.blockinfile:
|
||||||
|
path: /etc/NetworkManager/NetworkManager.conf
|
||||||
|
state: absent
|
||||||
|
|
Loading…
Add table
Reference in a new issue