Fix airshipctl image publish

Resolve the following error when logging into the remote docker registry.

Failed to import the required Python library (Docker SDK for Python:
docker (Python >= 2.7) or docker-py (Python 2.6)) on
ubuntu-bionic-rax-dfw-0015461365's Python /usr/bin/python3.
Please read module documentation and install in the appropriate
location, for example via `pip install docker` or `pip install docker-py`
(Python 2.6). The error was: No module named 'docker'

Change-Id: I0df7e58aae886dfa3901815a60853e47c98b5e90
This commit is contained in:
Matt McEuen 2020-03-25 16:03:56 -05:00
parent 66a1332ce9
commit ef33f672a3

View File

@ -14,6 +14,8 @@
apt: apt:
pkg: pkg:
- python-docker - python-docker
- python3-docker
- python-requests
- python3-requests - python3-requests
state: present state: present
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'