diff --git a/playbook.yaml b/playbook.yaml index 5a868c3..bbb41b4 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -19,14 +19,14 @@ wifi_psk: "test12345" # Статические адрес интерфейса и шлюз wifi_int_ip: 10.1.10.1 - phy_int1: 10.1.10.2 - phy_int2: 10.1.10.3 + phy_int1: 10.1.10.2/24 + phy_int2: 10.1.10.3/24 # Имя lte модема для настройки NetworkManager - LTE_con_name: "LTE" - phy_int1_name: "physical_1" - phy1_iface_name: "enp89s0" - phy_int2_name: "physical_2" - phy2_iface_name: "enp90s0" + LTE_con_name: LTE + phy_int1_name: physical_1 + phy1_iface_name: enp89s0 + phy_int2_name: physical_2 + phy2_iface_name: enp90s0 ## dnsmasq # Время аренды в секундах lease_time: 10800 diff --git a/roles/configure/tasks/main.yaml b/roles/configure/tasks/main.yaml index 66928a5..44649ec 100644 --- a/roles/configure/tasks/main.yaml +++ b/roles/configure/tasks/main.yaml @@ -141,12 +141,12 @@ - name: Run nmcli to activate {{ LTE_con_name }} command: /usr/bin/nmcli c up {{ LTE_con_name }} -- name: Run nmcli to activate {{ phy_int1_name }} - command: /usr/bin/nmcli c up {{ LTE_con_name }} +# - name: Run nmcli to activate {{ phy_int1_name }} +# command: /usr/bin/nmcli c up {{ LTE_con_name }} - name: Run nmcli to activate {{ phy_int2_name }} command: /usr/bin/nmcli c up {{ LTE_con_name }} - + - name: Apply tags to tasks within included file include_tasks: iptables.yaml args: