Add python package for docker
Ansible requires python-docker package to control docker daemon trough playbook. Change-Id: I34fc3af8a72ba16165ea9521e85bbd9db0b3d565
This commit is contained in:
parent
9861b5e627
commit
b7942e78bf
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
- hosts: primary
|
- hosts: primary
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Install python-docker module
|
||||||
|
apt:
|
||||||
|
name: python-docker
|
||||||
|
state: present
|
||||||
- name: Publish images
|
- name: Publish images
|
||||||
block:
|
block:
|
||||||
- docker_login:
|
- docker_login:
|
||||||
|
|
Loading…
Reference in New Issue