1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

replacement for no_network (#127)

This commit is contained in:
Jerry Vonau 2017-07-17 14:18:35 -05:00 committed by georgejhunt
parent 3734984d3b
commit e415f3956c
2 changed files with 3 additions and 4 deletions

View file

@ -62,7 +62,7 @@
- name: Set internet_available true if wget succeeded
set_fact:
internet_available: True
when: not internet_access_test|failed
when: not internet_access_test|failed and not disregard_network
- name: Cleanup internet test file
file: path=/tmp/heart-beat.txt

View file

@ -21,9 +21,8 @@ iiab_download_url: http://download.iiab.io/packages
iiab_config_file: /etc/iiab/iiab.ini
service_filelist: "{{ iiab_config_file }}"
# The following two variables control OFFLINE installs
use_cache: False # force cache use even when online
no_network: False # use cache or error out if cache does not exist
# The following variable may be useful in debugging
disregard_network: False # use cache or error out if cache does not exist
# Users and Passwords
# obtain a password hash with - python -c 'import crypt; print crypt.crypt("<plaintext>", "$6$<salt>")'