my ansible_distribution_major_version is 22, the host system is ubuntu22.04.
[root@ubuntu-NUC10i5FNH ~]# ansible -i all-in-one all -m setup |grep ansible_distribution_major_version
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details "ansible_distribution_major_version": "22",
horizon use {{distro_python_version}} to switch python version, my {{kolla_base_distro}} is centos, why use host's ansible_distribution_major_version to switch centos python version? Is this a bug?
find error config with python3.6:
grep -rn 'python3.6' in /etc/kolla
fix problem manually use this command, then reboot host 6/python2. 7/g" `grep python2.7 -rl /etc/kolla`
sed -i "s/python3.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- ####### ####### #### ####### ####### #### python_ version_ map: { distribution_ major_version is version(8, '>=') else '2.7' }}", distribution_ major_version is version(8, '>=') else '2.7' }}",
analysix:
#######
# Internal Image options
#######
distro_
"centos": "{{ '3.6' if ansible_
"debian": "3.7",
"rhel": "{{ '3.6' if ansible_
"ubuntu": "3.6"
}
distro_ python_ version: "{{ distro_ python_ version_ map[kolla_ base_distro] }}"
my ansible_ distribution_ major_version is 22, the host system is ubuntu22.04. NUC10i5FNH ~]# ansible -i all-in-one all -m setup |grep ansible_ distribution_ major_version
"ansible_ distribution_ major_version" : "22",
[root@ubuntu-
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
horizon use {{distro_ python_ version} } to switch python version, my {{kolla_ base_distro} } is centos, why use host's ansible_ distribution_ major_version to switch centos python version? Is this a bug?