From a35fbfbc975f3908b2b974b80383b244e718a160 Mon Sep 17 00:00:00 2001 From: Aleksandr Malyavin Date: Sun, 1 Sep 2024 22:30:24 +0300 Subject: [PATCH] ff --- roles/configure/tasks/main.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/configure/tasks/main.yaml b/roles/configure/tasks/main.yaml index 982d302..968a094 100644 --- a/roles/configure/tasks/main.yaml +++ b/roles/configure/tasks/main.yaml @@ -71,7 +71,7 @@ when: nmcli_failed - name: Run nmcli to add a connection LTE - command: /usr/bin/nmcli c add autoconnect yes save yes con-name TLE ifname {{ lte_int.stdout }} type gsm apn "internet" + command: /usr/bin/nmcli c add autoconnect yes save yes con-name LTE ifname {{ lte_int.stdout }} type gsm apn "internet" - name: Run nmcli to add WPA-PSK security to the wifi connection command: /usr/bin/nmcli c mod {{ wifi_ssid }} \ @@ -88,6 +88,8 @@ - name: Run nmcli to activate wifi access point connection command: /usr/bin/nmcli c up {{ wifi_ssid }} +- name: Run nmcli to activate wifi access point connection + command: /usr/bin/nmcli c up {{ lte_int.stdout }} # - name: Configure {{ wifi_int.stdout_lines | first }} interface # template: # src: 25-wireless.network.j2