diff --git a/roles/kalite/tasks/install.yml b/roles/kalite/tasks/install.yml index c3a48ccb02..0954d09251 100644 --- a/roles/kalite/tasks/install.yml +++ b/roles/kalite/tasks/install.yml @@ -48,7 +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_ubuntu_2404 is defined and is_ubuntu_2404) #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+) @@ -65,7 +65,7 @@ - name: Use scripts/U2404_python2.sh to install python2 and virtualenv command: bash "{{ iiab_dir }}/scripts/U2404_python2.sh" - when: (is_ubuntu_2404 is defined and is_ubuntu_2404) + 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: