kolla/docker/kolla-toolbox
Marcin Juszkiewicz 8df6eb0118 replace 'distro_python3' variable with 'distro_python_version'
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.

We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.

How to check for Python 2:

{% if distro_python_version == '2.7' %}

Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
2019-03-12 17:13:46 +00:00
..
Dockerfile.j2 replace 'distro_python3' variable with 'distro_python_version' 2019-03-12 17:13:46 +00:00
ansible.cfg Make Ansible write its logs into "kolla_logs" 2016-02-19 21:49:21 +00:00
ansible_sudoers Fix sudoers for Ceph 2018-06-01 14:39:05 +01:00
find_disks.py Update hacking version 2018-12-27 12:02:17 +00:00
kolla_keystone_service.py Update hacking version 2018-12-27 12:02:17 +00:00
kolla_keystone_user.py Update hacking version 2018-12-27 12:02:17 +00:00
kolla_sanity.py Update hacking version 2018-12-27 12:02:17 +00:00