]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
move python-xml to raw_install_python.yml
authorJohannes Kastl <kastl@b1-systems.de>
Tue, 20 Aug 2019 10:32:19 +0000 (12:32 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 27 Sep 2019 15:50:10 +0000 (17:50 +0200)
commit146f2e8de3653ba8d93ab63d67cd13c24c71ceab
tree90e0e00592ba908ebdcc7d1022d1eb2cf8e96a79
parent5fea830414e7eb4cf6f1d0008834e2c4b205b131
move python-xml to raw_install_python.yml

The package python-xml is needed for ansible's zypper module to interact with
the zypper package management tool.

roles/ceph-defaults/defaults/main.yml:
Remove python-xml from variable suse_package_dependencies to only
install python-xml on SUSE/openSUSE if python is not found.
raw_install_python.yml already contains all the logic needed to check
if there is a valid python installation, so this is better suited there.

openSUSE Leap 15.x / SLES 15.x do no longer have /usr/bin/python,
only /usr/bin/python3, which already contains the xml module, so
nothing needs to be installed in that case.

Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
(cherry picked from commit 5cf22e9b312bb26b3144c329e6e597a0905b274a)
group_vars/all.yml.sample
group_vars/rhcs.yml.sample
roles/ceph-defaults/defaults/main.yml