1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

local_vars is_VM 2

This commit is contained in:
Jerry Vonau 2017-11-01 18:15:28 -05:00
parent 16adb8e199
commit 4a63f79085
2 changed files with 2 additions and 1 deletions

View file

@ -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 is_rpi or not no_net_restart is defined
- name: restart hostapd when wifi is present
service: name=hostapd state=restarted

View file

@ -169,6 +169,7 @@
- name: in VM disable LAN - needs local_vars entry to activate
set_fact:
iiab_lan_iface: none
no_net_restart: True
when: is_VM is defined
# OK try old gw this is a best guess based on what's in