Elevate privileges to install python-docker
Change-Id: I6a43153f39b2b1f49b69f55e8978d03e054a0797
This commit is contained in:
parent
b7942e78bf
commit
e89350ad00
|
@ -19,6 +19,8 @@
|
||||||
apt:
|
apt:
|
||||||
name: python-docker
|
name: python-docker
|
||||||
state: present
|
state: present
|
||||||
|
become: true
|
||||||
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||||
- name: Publish images
|
- name: Publish images
|
||||||
block:
|
block:
|
||||||
- docker_login:
|
- docker_login:
|
||||||
|
|
Loading…
Reference in New Issue