mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
introduce strict_install
This commit is contained in:
parent
43bf8174c0
commit
7ca0970b5a
4 changed files with 7 additions and 6 deletions
|
@ -1,11 +1,12 @@
|
|||
# use these as a tag a release at a point in time
|
||||
iiab_base_ver: 0
|
||||
gui_version: 2
|
||||
NUC6_firmware_needed: False
|
||||
|
||||
# These entries should never be changed in this file.
|
||||
# These are defaults for boolean routines,
|
||||
strict_install: False
|
||||
installing: False
|
||||
NUC6_firmware_needed: False
|
||||
exFAT_enabled: False
|
||||
no_NM_reload: False
|
||||
has_WAN: False
|
||||
|
|
|
@ -86,9 +86,11 @@
|
|||
|
||||
- name: Install pip as a commonly required package management system
|
||||
command: curl https://bootstrap.pypa.io/get-pip.py -o {{ downloads_dir }}/get-pip.py
|
||||
when: not strict_install
|
||||
|
||||
- name: Run the install script for pip
|
||||
command: python {{ downloads_dir }}/get-pip.py
|
||||
when: not strict_install
|
||||
|
||||
- name: Update common packages (not debian
|
||||
package: name={{ item }}
|
||||
|
|
|
@ -26,13 +26,11 @@
|
|||
|
||||
- name: use pip to uninstall setuptools for centos
|
||||
command: pip uninstall --yes setuptools
|
||||
when: ansible_distribution == "CentOS"
|
||||
when: ansible_distribution == "CentOS" and not strict_install
|
||||
|
||||
- name: Get an unbroken version of setuptools for centos
|
||||
command: pip install setuptools==28.8.0
|
||||
when: ansible_distribution == "CentOS"
|
||||
|
||||
|
||||
when: ansible_distribution == "CentOS" and not strict_install
|
||||
|
||||
- name: Install kalite with pip
|
||||
pip: name=ka-lite version={{ kalite_version }}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
- name: fix the pip bug (incompatible with requests)
|
||||
command: easy_install --upgrade pip
|
||||
when: is_debuntu
|
||||
when: is_debuntu and not strict_install
|
||||
|
||||
- name: Install IIAB required packages
|
||||
package: name={{ item }}
|
||||
|
|
Loading…
Add table
Reference in a new issue