Refactor the push-docker role
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
1f976591c5
commit
aee9dfb409
1 changed files with 5 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
# tasks file for push-docker
|
# tasks file for push-docker
|
||||||
#
|
#
|
||||||
- name: install docker
|
- name: install docker and python-docker
|
||||||
action: "{{ ansible_pkg_mgr }} name=docker state=present"
|
package: name="{{ item }}" state=present
|
||||||
|
with_items:
|
||||||
- name: install python-docker-py
|
- docker
|
||||||
package: name=python-docker state=present
|
- python-docker
|
||||||
|
|
||||||
- name: ensure docker daemon cert dir exists
|
- name: ensure docker daemon cert dir exists
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue