From 6b2e906ce6b90f6e5e5060d7b71c4c6a70f7c325 Mon Sep 17 00:00:00 2001 From: Aleksandr Malyavin Date: Sat, 7 Sep 2024 09:43:15 +0300 Subject: [PATCH] ff --- roles/configure/tasks/main.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/roles/configure/tasks/main.yaml b/roles/configure/tasks/main.yaml index 36847e8..e31f7f0 100644 --- a/roles/configure/tasks/main.yaml +++ b/roles/configure/tasks/main.yaml @@ -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