From 88810a4b3c8956dfa2075ab9325be379ad96d142 Mon Sep 17 00:00:00 2001 From: Aleksandr Malyavin Date: Sun, 8 Sep 2024 12:41:34 +0300 Subject: [PATCH] ff --- roles/configure/tasks/main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/configure/tasks/main.yaml b/roles/configure/tasks/main.yaml index 15e4332..07967e0 100644 --- a/roles/configure/tasks/main.yaml +++ b/roles/configure/tasks/main.yaml @@ -136,13 +136,12 @@ # 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 c add autoconnect yes save yes con-name {{ wifi_ssid }} ifname {{ wifi_int.stdout }} type wifi slave-type bridge master br0 + command: /usr/bin/nmcli 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 }} when: nmcli_failed - name: Run nmcli to add WPA-PSK security to the wifi connection command: /usr/bin/nmcli c mod {{ wifi_ssid }} \ 802-11-wireless.band bg \ - wifi.ssid {{ wifi_ssid }} \ wifi.mode ap \ wifi-sec.proto rsn \ wifi-sec.pairwise ccmp \