mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Ubuntu - skip restart with DG enabled during install
This commit is contained in:
parent
4a6db98f5b
commit
df08c29cfd
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
- name: restart hostapd when wifi is present
|
||||
service: name=hostapd state=started
|
||||
when: iiab_wireless_lan_iface != "none" and hostapd_enabled
|
||||
# when: iiab_wireless_lan_iface != "none" and hostapd_enabled and iiab_network_mode != "Appliance"
|
||||
|
||||
- name: Start named service
|
||||
service: name={{ dns_service }}
|
||||
|
@ -18,10 +17,10 @@
|
|||
state=stopped
|
||||
when: squid_install
|
||||
|
||||
- name: Restart DansGuardian
|
||||
- name: Restart DansGuardian - execpt Ubuntu which needs reboot to activate
|
||||
service: name=dansguardian
|
||||
state=restarted
|
||||
when: dansguardian_enabled and dansguardian_install
|
||||
when: dansguardian_enabled and dansguardian_install and ( not is_ubuntu and iiab_stage|int < 4 )
|
||||
|
||||
# Squid get re-loaded with dispatcher.d
|
||||
- name: Restart Squid service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue