Image publishing: add both Python 2 & 3 packages

Change-Id: Idbcfb3678ba2a2c376baca4c6469495e36bf15d1
This commit is contained in:
Roman Gorshunov 2020-03-17 17:03:31 +01:00
parent 8b796ea963
commit 28c08bfd38

View File

@ -19,13 +19,12 @@
apt:
pkg:
- python-docker
- python3-docker
- python-requests
- python3-requests
state: present
become: true
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: Install docker pip module
pip:
name: docker
- name: Publish images
block:
- docker_login: