mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
no_net_restart
This commit is contained in:
parent
3e4ae6b07d
commit
4015a7c8f1
4 changed files with 5 additions and 3 deletions
|
|
@ -52,5 +52,5 @@
|
|||
value: '{{ dhcp_service2 }}'
|
||||
- option: 'dnsmasq_enabled'
|
||||
value: '{{ dnsmasq_enabled }}'
|
||||
- option: 'is_rpi'
|
||||
value: '{{ is_rpi }}'
|
||||
- option: 'no_net_restart'
|
||||
value: '{{ no_net_restart }}'
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
- name: restart the networking service
|
||||
service: name=networking state=restarted
|
||||
when: not is_rpi or not is_VM is defined
|
||||
when: not no_net_restart
|
||||
|
||||
- name: restart hostapd when wifi is present
|
||||
service: name=hostapd state=restarted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue