mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
create symlink for kalite on path - remove unneeded creation of pip pre-cache
This commit is contained in:
parent
ae66aa3433
commit
bc90485ce8
1 changed files with 5 additions and 5 deletions
|
@ -10,11 +10,6 @@
|
|||
get_url: url={{ kalite_requirements }} dest={{ pip_packages_dir }}/kalite.txt
|
||||
when: internet_available
|
||||
|
||||
- name: Download kalite dependencies with pip
|
||||
pip: requirements={{ pip_packages_dir }}/kalite.txt
|
||||
extra_args="--disable-pip-version-check --download {{ pip_packages_dir }}"
|
||||
when: internet_available
|
||||
|
||||
- name: Install ka-lite dependencies with pip
|
||||
pip: requirements={{ pip_packages_dir }}/kalite.txt
|
||||
virtualenv={{ kalite_venv }}
|
||||
|
@ -50,3 +45,8 @@
|
|||
- { src: 'kalite-serve.service.j2', dest: '/etc/systemd/system/kalite-serve.service', mode: '0644'}
|
||||
- { src: 'kalite.sh.j2', dest: '/etc/profile.d/kalite.sh', mode: '0644'}
|
||||
- { src: 'kalite.conf', dest: '/etc/{{ apache_config_dir}}', mode: '0644'}
|
||||
|
||||
- name: Create symlink to kalite bin file in path
|
||||
file: path=/usr/bin/kalite
|
||||
src={{kalite_venv}}/bin/kalite
|
||||
state=link
|
||||
|
|
Loading…
Reference in a new issue