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>
pull/4486/head
Johannes Kastl 2019-08-20 12:32:19 +02:00 committed by Guillaume Abrioux
parent e695efcaf7
commit 5cf22e9b31
3 changed files with 3 additions and 6 deletions

View File

@ -89,8 +89,7 @@ dummy:
#redhat_package_dependencies: []
#suse_package_dependencies:
# - python-xml
#suse_package_dependencies: []
# Whether or not to install the ceph-test package.
#ceph_test: false

View File

@ -89,8 +89,7 @@ fetch_directory: ~/ceph-ansible-keys
#redhat_package_dependencies: []
#suse_package_dependencies:
# - python-xml
#suse_package_dependencies: []
# Whether or not to install the ceph-test package.
#ceph_test: false

View File

@ -81,8 +81,7 @@ centos_package_dependencies:
redhat_package_dependencies: []
suse_package_dependencies:
- python-xml
suse_package_dependencies: []
# Whether or not to install the ceph-test package.
ceph_test: false