mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
U2404 python2
This commit is contained in:
parent
918758fbe9
commit
3ae591a035
1 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
virtualenv_command: virtualenv # Traditionally /usr/bin/virtual/env -- but install_python2.sh (for Ubuntu 23.10+) sets up /usr/local/bin/virtualenv
|
||||
virtualenv_python: python2.7
|
||||
extra_args: "--no-use-pep517 --no-cache-dir --no-python-version-warning"
|
||||
when: ((is_debian_11 is defined and is_debian_11) or (is_ubuntu_2204 is defined and is_ubuntu_2204)) # Also avoids is_raspbian_11 and is_linuxmint_21, and is more future-proof than...
|
||||
#when: not (is_debian_9 or is_debian_10 or is_ubuntu_16 or is_ubuntu_17 or is_ubuntu_18 or is_ubuntu_19)
|
||||
# long form of (is_debian_11+ or is_ubuntu_20+)
|
||||
|
||||
|
@ -60,6 +61,11 @@
|
|||
virtualenv_command: virtualenv
|
||||
virtualenv_python: python2.7
|
||||
extra_args: "--no-cache-dir"
|
||||
when: not (is_ubuntu_2404 is defined and is_ubuntu_2404)
|
||||
|
||||
- name: Use scripts/U2404_python2.sh to install python2 and virtualenv
|
||||
command: "{{ iiab_dir }}/scripts/U2404_python2.sh"
|
||||
when: (is_ubuntu_2404 is defined and is_ubuntu_2404)
|
||||
|
||||
- name: "Install from templates: venv wrapper /usr/bin/kalite, unit file /etc/systemd/system/kalite-serve.service"
|
||||
template:
|
||||
|
|
Loading…
Add table
Reference in a new issue