This commit is contained in:
2024-09-07 09:43:15 +03:00
parent 6c24e7a060
commit 6b2e906ce6

View File

@@ -81,9 +81,9 @@
# - 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"
# tags: br
- 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"
tags: br
- name: Configure bridge
command: /usr/bin/nmcli c add type bridge ifname br0 autoconnect yes save yes con-name bridge stp no ipv6.method disabled ipv4.method manual ipv4.addr 10.1.10.1/24
@@ -134,18 +134,18 @@
- name: Run nmcli to activate wifi access point connection
command: /usr/bin/nmcli c up {{ wifi_ssid }}
# - name: Run nmcli to activate LTE access point connection
# command: /usr/bin/nmcli c up {{ LTE_con_name }}
- name: Run nmcli to activate LTE access point connection
command: /usr/bin/nmcli c up {{ LTE_con_name }}
# - name: Apply tags to tasks within included file
# include_tasks: iptables.yaml
# args:
# apply:
# tags:
# - iptables
# tags:
# - iptables
# - flush
- name: Apply tags to tasks within included file
include_tasks: iptables.yaml
args:
apply:
tags:
- iptables
tags:
- iptables
- flush