mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Notags (#73)
* bulk change use_cache/no_network->internet_available * bulk change use_cache/no_network->internet_available * remove unuseful debug statements * remove download tags * appendix has_internet_connection * ubuntu dhcpd needs to connect to br0
This commit is contained in:
parent
4462652deb
commit
30f4dfc1af
39 changed files with 50 additions and 232 deletions
|
@ -1,14 +1,9 @@
|
|||
- name: download wondershaper ajenti plugin
|
||||
pip: name="{{ iiab_download_url }}"/ajenti-plugin-wondershaper-0.3.tar.gz
|
||||
extra_args="--download {{ pip_packages_dir }}"
|
||||
when: not {{ use_cache }} and not {{ no_network }}
|
||||
tags:
|
||||
- download2
|
||||
|
||||
when: internet_available
|
||||
|
||||
- name: install wondershaper from local download directory
|
||||
pip: name=ajenti-plugin-wondershaper
|
||||
extra_args="--no-index --find-links=file://{{ pip_packages_dir }}"
|
||||
|
||||
# notify:
|
||||
# - restart ajenti service
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
- name: Install python-pip package
|
||||
package: name=python-pip
|
||||
state=present
|
||||
tags:
|
||||
- download
|
||||
|
||||
- name: Install required libraries
|
||||
package: name={{ item.pkg }}
|
||||
|
@ -14,15 +12,11 @@
|
|||
- pkg: pyOpenSSL
|
||||
- pkg: python-daemon
|
||||
- pkg: gcc
|
||||
tags:
|
||||
- download
|
||||
|
||||
- name: download ajenti from our repo
|
||||
pip: name="{{ iiab_download_url }}"/ajenti-0.99.34-patched5.tar.gz
|
||||
extra_args="--download {{ pip_packages_dir }}"
|
||||
when: not {{ use_cache }} and not {{ no_network }}
|
||||
tags:
|
||||
- download2
|
||||
when: internet_available
|
||||
|
||||
- name: install ajenti from local download directory
|
||||
pip: name=ajenti
|
||||
|
@ -34,9 +28,7 @@
|
|||
- name: download python-catcher
|
||||
pip: name=python-catcher version=0.1.3
|
||||
extra_args="--download {{ pip_packages_dir }}"
|
||||
when: not {{ use_cache }} and not {{ no_network }}
|
||||
tags:
|
||||
- download2
|
||||
when: internet_available
|
||||
|
||||
- name: install python-catcher from local download directory
|
||||
pip: name=python-catcher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue