Add support for 802.1x wired connections (EAP-TLS only)

Only EAP-TLS method is supported. Must use NetworkManager as the network_provider.
Also fixed bug in do_connections_validate_nm() function.
This commit is contained in:
Jack Adolph 2020-03-02 01:19:14 +11:00 committed by Till Maas
parent d32f4e5a7b
commit 4af8f23955
22 changed files with 961 additions and 7 deletions

View file

@ -32,6 +32,17 @@
when:
- network_provider == "nm"
# If any 802.1x connections are used, the wpa_supplicant
# service is required to be running
- name: Enable and start wpa_supplicant
service:
name: wpa_supplicant
state: started
enabled: true
when:
- network_provider == "nm"
- wpa_supplicant_required
- name: Enable network service
service:
name: "{{ network_service_name }}"