1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Merge pull request #2307 from holta/python2-fails

Install python2 for KA Lite, if Raspbian/Debian > 10 or Ubuntu > 19
This commit is contained in:
A Holt 2020-03-27 02:27:07 -04:00 committed by GitHub
commit aa694e6016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,10 +11,11 @@
# ignore_errors: yes
# when: is_raspbian | bool
- name: Install python2
package:
- name: Install python2, if Raspbian/Debian > 10 or Ubuntu > 19
package:
name: python2
state: present
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) # 2020-03-26: Testing for {is_raspbian_9, is_raspbian_10} is not currently nec, as testing for {is_debian_9, is_debian_10} covers that already.
- name: Use pip to install KA Lite static to {{ kalite_venv }}
pip: