From 8addeb339c2f07fdb8a74b5ad86fe4a650a66935 Mon Sep 17 00:00:00 2001 From: Aleksandr Malyavin Date: Wed, 4 Sep 2024 20:53:34 +0300 Subject: [PATCH] ff --- roles/configure/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/configure/tasks/main.yaml b/roles/configure/tasks/main.yaml index ecb21e8..3ffe71d 100644 --- a/roles/configure/tasks/main.yaml +++ b/roles/configure/tasks/main.yaml @@ -102,7 +102,7 @@ # tags: br - name: Run nmcli to add a connection with the specified parameters as a wifi access point if above check has failed - command: /usr/bin/nmcli ipv4.method shared c add autoconnect yes save yes con-name {{ wifi_ssid }} ifname {{ wifi_int.stdout }} type wifi slave-type bridge master br0 wifi.ssid {{ wifi_ssid }} wifi.mode ap wifi-sec.proto rsn wifi-sec.pairwise ccmp wifi-sec.psk {{ wifi_psk }} wifi-sec.key-mgmt wpa-psk + command: /usr/bin/nmcli c add ipv4.method shared autoconnect yes save yes con-name {{ wifi_ssid }} ifname {{ wifi_int.stdout }} type wifi slave-type bridge master br0 wifi.ssid {{ wifi_ssid }} wifi.mode ap wifi-sec.proto rsn wifi-sec.pairwise ccmp wifi-sec.psk {{ wifi_psk }} wifi-sec.key-mgmt wpa-psk # when: nmcli_failed # - name: Run nmcli to add WPA-PSK security to the wifi connection # command: /usr/bin/nmcli c mod {{ wifi_ssid }} \