mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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:
commit
aa694e6016
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@
|
||||||
# ignore_errors: yes
|
# ignore_errors: yes
|
||||||
# when: is_raspbian | bool
|
# when: is_raspbian | bool
|
||||||
|
|
||||||
- name: Install python2
|
- name: Install python2, if Raspbian/Debian > 10 or Ubuntu > 19
|
||||||
package:
|
package:
|
||||||
name: python2
|
name: python2
|
||||||
state: present
|
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 }}
|
- name: Use pip to install KA Lite static to {{ kalite_venv }}
|
||||||
pip:
|
pip:
|
||||||
|
|
Loading…
Reference in a new issue