ceph-ansible/roles/ceph-container-common/tasks
Dimitri Savineau 40a8e1160c container: Add python3-docker on Ubuntu bionic
When installing python-minimal on Ubuntu bionic, this will add the
/usr/bin/python symlink to the default python interpreter.
On bionic, this isn't python2 but python3.

$ /usr/bin/python --version
Python 3.6.7

The python docker library is only installed for python2 which causes
issues when running the purge-docker-cluster playbook. This playbook
uses the ansible docker modules and requires to have python bindings
installed on the remote host.
Without the bindings we can see python error reported by the docker
module.

msg: Failed to import docker or docker-py - No module named 'docker'.
Try `pip install docker` or `pip install docker-py` (Python 2.6)

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2019-03-28 08:03:58 +00:00
..
pre_requisites container: Add python3-docker on Ubuntu bionic 2019-03-28 08:03:58 +00:00
fetch_image.yml facts: set timeout_command fact in ceph-defaults 2019-02-05 18:14:28 +01:00
main.yml Fix CNI error when net=host is not used in some podman calls 2019-02-05 18:14:28 +01:00
release.yml docker-common: rename role 2018-11-12 10:51:48 +01:00