Set 'distro_python_version' variable

We use that variable in Kolla in many places. There are places in
'kolla-ansible' where we also need it.

Change-Id: Iea78c4a7cb0fd1405ea7299cdcf0841f63820c8c
This commit is contained in:
Marcin Juszkiewicz 2019-08-09 12:50:53 +02:00
parent 339ea2bdeb
commit bf7ed6be04

View File

@ -1049,3 +1049,16 @@ enable_vitrage_prometheus_datasource: "{{ enable_prometheus | bool }}"
# InfluxDB options
####################
influxdb_address: "{{ kolla_internal_fqdn }}"
#########################
# Internal Image options
#########################
distro_python_version_map: {
"centos": "2.7",
"debian": "3.7",
"oraclelinux": "2.7",
"rhel": "2.7",
"ubuntu": "3.6"
}
distro_python_version: "{{ distro_python_version_map[kolla_base_distro] }}"