ff
This commit is contained in:
@@ -83,9 +83,9 @@
|
|||||||
- 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 ip4 {{ wifi_int_ip }}
|
||||||
when: nmcli_failed
|
when: nmcli_failed
|
||||||
|
|
||||||
- name: Configure physical interface
|
- name: Configure physical interface
|
||||||
command: /usr/bin/nmcli c add autoconnect yes save yes con-name eth1 ifname enp90s0 type ethernet ipv4.method manual ipv4.address 10.1.10.2
|
command: /usr/bin/nmcli c add autoconnect yes save yes con-name eth1 ifname enp90s0 type ethernet ipv4.method manual ipv4.address 10.1.10.2
|
||||||
|
|
||||||
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user