ff
This commit is contained in:
@@ -86,6 +86,21 @@
|
|||||||
|
|
||||||
- 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
|
||||||
|
- name: Configure bridge
|
||||||
|
command: /usr/bin/nmcli c add type bridge ifname br0 autoconnect yes save yes con-name bridge
|
||||||
|
tags: br
|
||||||
|
- name: Configure bridge1
|
||||||
|
command: /usr/bin/nmcli c add type bridge-slave ifname {{ int_name }} master br0
|
||||||
|
loop:
|
||||||
|
- wlp88s0
|
||||||
|
- enp90s0
|
||||||
|
loop_control:
|
||||||
|
label: int_name
|
||||||
|
tags: br
|
||||||
|
- name: set ip for bridge
|
||||||
|
command: /usr/bin/nmcli c mod bridge ipv4.addr {{ wifi_int_ip }}/24
|
||||||
|
tags: br
|
||||||
|
|
||||||
- name: Run nmcli to add WPA-PSK security to the wifi connection
|
- name: Run nmcli to add WPA-PSK security to the wifi connection
|
||||||
command: /usr/bin/nmcli c mod {{ wifi_ssid }} \
|
command: /usr/bin/nmcli c mod {{ wifi_ssid }} \
|
||||||
@@ -97,7 +112,6 @@
|
|||||||
802-11-wireless-security.pairwise ccmp \
|
802-11-wireless-security.pairwise ccmp \
|
||||||
802-11-wireless-security.psk {{ wifi_psk }} \
|
802-11-wireless-security.psk {{ wifi_psk }} \
|
||||||
ipv4.method shared \
|
ipv4.method shared \
|
||||||
ipv4.addr {{ wifi_int_ip }}/24
|
|
||||||
|
|
||||||
- name: Run nmcli to activate wifi access point connection
|
- name: Run nmcli to activate wifi access point connection
|
||||||
command: /usr/bin/nmcli c up {{ wifi_ssid }}
|
command: /usr/bin/nmcli c up {{ wifi_ssid }}
|
||||||
|
|||||||
Reference in New Issue
Block a user