Image publishing: add both Python 2 & 3 packages
Change-Id: Idbcfb3678ba2a2c376baca4c6469495e36bf15d1
This commit is contained in:
parent
8b796ea963
commit
28c08bfd38
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user