ff
This commit is contained in:
@@ -29,12 +29,11 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
- name: Disable dnsmasq
|
- name: Enable dnsmasq
|
||||||
service:
|
service:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
state: stopped
|
state: started
|
||||||
# Отключаем dnsmasq. NetworkManager запускает экземпляр dnsmasq
|
enabled: true
|
||||||
enabled: false
|
|
||||||
tags: dnsmasq
|
tags: dnsmasq
|
||||||
|
|
||||||
- name: Get physical interfaces without LTE modem interface
|
- name: Get physical interfaces without LTE modem interface
|
||||||
@@ -90,13 +89,19 @@
|
|||||||
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
|
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
|
||||||
tags: br
|
tags: br
|
||||||
|
|
||||||
|
# - name: Configure bridge1
|
||||||
|
# command: /usr/bin/nmcli c add type ethernet slave-type bridge con-name 'Ethernet' ifname {{ int_name }} master br0
|
||||||
|
# loop:
|
||||||
|
# - enp90s0
|
||||||
|
# loop_control:
|
||||||
|
# loop_var: int_name
|
||||||
|
# tags: br
|
||||||
- name: Configure bridge1
|
- name: Configure bridge1
|
||||||
command: /usr/bin/nmcli c add type ethernet slave-type bridge con-name 'Ethernet' ifname {{ int_name }} master br0
|
command: /usr/bin/nmcli c add type bridge-slave con-name 'Ethernet' ifname {{ int_name }} master br0
|
||||||
loop:
|
loop:
|
||||||
- enp90s0
|
- enp90s0
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: int_name
|
loop_var: int_name
|
||||||
tags: br
|
|
||||||
# - name: set ip for bridge
|
# - name: set ip for bridge
|
||||||
# command: /usr/bin/nmcli c mod bridge ipv4.addr {{ wifi_int_ip }}/24 ipv4.method manual
|
# command: /usr/bin/nmcli c mod bridge ipv4.addr {{ wifi_int_ip }}/24 ipv4.method manual
|
||||||
# tags: br
|
# tags: br
|
||||||
|
|||||||
Reference in New Issue
Block a user