This commit is contained in:
2024-09-11 23:22:36 +03:00
parent 825f79ee69
commit a04d46f27c
2 changed files with 4 additions and 6 deletions

View File

@@ -24,10 +24,9 @@
phy_int2: 10.1.10.3/24 phy_int2: 10.1.10.3/24
# Имя lte модема для настройки NetworkManager # Имя lte модема для настройки NetworkManager
LTE_con_name: LTE LTE_con_name: LTE
phy_int1_name: physical_1 phy_ints:
phy1_iface_name: enp89s0 # - enp89s0
phy_int2_name: physical_2 - enp90s0
phy2_iface_name: enp90s0
## dnsmasq ## dnsmasq
# Время аренды в секундах # Время аренды в секундах
lease_time: 10800 lease_time: 10800

View File

@@ -133,8 +133,7 @@
- name: Configure bridge1 - name: Configure bridge1
command: /usr/bin/nmcli c add ipv6.method disabled type bridge-slave con-name 'Ethernet' ifname {{ int_name }} master br0 autoconnect yes save yes command: /usr/bin/nmcli c add ipv6.method disabled type bridge-slave con-name 'Ethernet' ifname {{ int_name }} master br0 autoconnect yes save yes
loop: loop: "{{ phy_ints }}"
- enp90s0
loop_control: loop_control:
loop_var: int_name loop_var: int_name
when: nmcli_eth_failed when: nmcli_eth_failed