ff
This commit is contained in:
@@ -12,6 +12,11 @@
|
|||||||
name: NetworkManager
|
name: NetworkManager
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
|
- name: Restart NetworkManager
|
||||||
|
service:
|
||||||
|
name: NetworkManager
|
||||||
|
state: restarted
|
||||||
|
|
||||||
- name: Restart hostapd
|
- name: Restart hostapd
|
||||||
service:
|
service:
|
||||||
name: hostapd
|
name: hostapd
|
||||||
|
|||||||
@@ -65,11 +65,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 }}
|
||||||
@@ -153,9 +153,7 @@
|
|||||||
apply:
|
apply:
|
||||||
tags:
|
tags:
|
||||||
- iptables
|
- iptables
|
||||||
tags:
|
notify: Restart NetworkManager
|
||||||
- iptables
|
|
||||||
- flush
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user