Refactor the push-docker role

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2018-07-04 10:32:02 +02:00
parent 1f976591c5
commit aee9dfb409

View file

@ -1,11 +1,11 @@
---
# tasks file for push-docker
#
- name: install docker
action: "{{ ansible_pkg_mgr }} name=docker state=present"
- name: install python-docker-py
package: name=python-docker state=present
- name: install docker and python-docker
package: name="{{ item }}" state=present
with_items:
- docker
- python-docker
- name: ensure docker daemon cert dir exists
file: