ff
This commit is contained in:
@@ -80,10 +80,12 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
nmcli_failed: "{{ nmcli_result.rc != 0 }}"
|
nmcli_failed: "{{ nmcli_result.rc != 0 }}"
|
||||||
|
|
||||||
|
# - 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 ssid {{ wifi_ssid }} mode ap ip4 {{ wifi_int_ip }}
|
||||||
|
# when: nmcli_failed
|
||||||
- name: Run nmcli to add a connection with the specified parameters as a wifi access point if above check has failed
|
- 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 ssid {{ wifi_ssid }} mode ap ip4 {{ wifi_int_ip }}
|
command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ wifi_ssid }} ifname {{ wifi_int.stdout }} type wifi ssid {{ wifi_ssid }} mode ap
|
||||||
when: nmcli_failed
|
when: nmcli_failed
|
||||||
|
|
||||||
- name: Run nmcli to add a connection LTE
|
- name: Run nmcli to add a connection LTE
|
||||||
command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ LTE_con_name }} ifname cdc-wdm0 type gsm apn "internet"
|
command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ LTE_con_name }} ifname cdc-wdm0 type gsm apn "internet"
|
||||||
tags: br
|
tags: br
|
||||||
|
|||||||
Reference in New Issue
Block a user