ff
This commit is contained in:
@@ -111,14 +111,15 @@
|
||||
when: nmcli_failed
|
||||
|
||||
# - name: Configure physical interface {{ phy_int1_name }}
|
||||
# command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ phy_int1_name }} ifname {{ phy1_iface_name }} type ethernet ipv4.method shared ipv4.address {{ phy_int1 }}
|
||||
# command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ phy_int1_name }} ifname {{ phy1_iface_name }} type ethernet ipv4.method shared ipv4.address {{ phy_int1 }}
|
||||
# when: phy1_failed
|
||||
|
||||
- name: Configure physical interface {{ phy_int2_name }}
|
||||
command: /usr/bin/nmcli c add autoconnect yes save yes con-name {{ phy_int2_name }} ifname {{ phy2_iface_name }} type ethernet ipv4.method shared ipv4.address {{ phy_int2 }}
|
||||
when: phy2_failed
|
||||
|
||||
- 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" ipv6.method "disabled"
|
||||
when: lte_failed
|
||||
|
||||
- name: Run nmcli to add WPA-PSK security to the wifi connection
|
||||
|
||||
Reference in New Issue
Block a user