ff
This commit is contained in:
@@ -64,11 +64,11 @@
|
||||
dest: /etc/dnsmasq.conf
|
||||
tags: dnsmasq
|
||||
|
||||
- name: Configure NetworkManager
|
||||
template:
|
||||
src: NetworkManager.conf.j2
|
||||
dest: /etc/NetworkManager/NetworkManager.conf
|
||||
notify: Reload NetworkManager
|
||||
# - name: Configure NetworkManager
|
||||
# template:
|
||||
# src: NetworkManager.conf.j2
|
||||
# dest: /etc/NetworkManager/NetworkManager.conf
|
||||
# notify: Reload NetworkManager
|
||||
|
||||
- name: Run nmcli to check if wifi access point connection has already been added
|
||||
shell: /usr/bin/nmcli c | grep {{ wifi_ssid }}
|
||||
@@ -97,7 +97,7 @@
|
||||
# loop_var: int_name
|
||||
# tags: br
|
||||
- name: Configure bridge1
|
||||
command: /usr/bin/nmcli c add type bridge-slave 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 autoconnect yes save yes
|
||||
loop:
|
||||
- enp90s0
|
||||
loop_control:
|
||||
@@ -137,6 +137,9 @@
|
||||
- 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 Ethernet
|
||||
|
||||
- name: Apply tags to tasks within included file
|
||||
include_tasks: iptables.yaml
|
||||
args:
|
||||
|
||||
Reference in New Issue
Block a user