From bf7ed6be04483eb122ce2d34d5bfc3ef159b1886 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 9 Aug 2019 12:50:53 +0200 Subject: [PATCH] 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 --- ansible/group_vars/all.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 8a7584b1ec..23f3bc6e86 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -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] }}"