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