mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
cleanup
This commit is contained in:
parent
ac738458f0
commit
117a3f513b
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
include_tasks: down-debian.yml
|
include_tasks: down-debian.yml
|
||||||
|
|
||||||
# provide keyfile layout like the XO's used way back.
|
# provide keyfile layout like the XO's used way back.
|
||||||
- name: Create uuid for NM
|
- name: Create uuid for NM's keyfile store
|
||||||
shell: uuidgen
|
shell: uuidgen
|
||||||
register: uuid_response
|
register: uuid_response
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
gen_uuid: "{{ uuid_response.stdout_lines[0] }}"
|
gen_uuid: "{{ uuid_response.stdout_lines[0] }}"
|
||||||
|
|
||||||
# NM might have a watcher on this path and we don't have to restart NM
|
# NM might have a watcher on this path and we don't have to restart NM
|
||||||
- name: Copy the bridge script for has_NM
|
- name: Copy the bridge script for NetworkManager
|
||||||
template:
|
template:
|
||||||
dest: /etc/NetworkManager/system-connections/
|
dest: /etc/NetworkManager/system-connections/
|
||||||
src: network/bridge-br0
|
src: network/bridge-br0
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
- name: Reload systemd
|
- name: Reload systemd
|
||||||
shell: systemctl daemon-reload
|
shell: systemctl daemon-reload
|
||||||
|
|
||||||
- name: Restart the networking service
|
- name: Restart the NetworkManager service
|
||||||
service:
|
service:
|
||||||
name: network-manager
|
name: network-manager
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
name: networking
|
name: networking
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
when: not nobridge is defined and not has_NM and not no_net_restart
|
when: not nobridge is defined and not no_net_restart
|
||||||
|
|
||||||
- name: Restart hostapd when WiFi is present
|
- name: Restart hostapd when WiFi is present
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in a new issue