Cleanup the push-docker role and add some comment about the role
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
0589f3790a
commit
098ccc4075
3 changed files with 18 additions and 20 deletions
|
@ -1,16 +1,12 @@
|
|||
---
|
||||
# tasks file for push-docker
|
||||
#
|
||||
# tasks file for push-docker role
|
||||
# This role is used to login to a registry using the
|
||||
# docker client.
|
||||
|
||||
- name: install docker and python-docker
|
||||
package: name="{{ item }}" state=present
|
||||
with_items:
|
||||
- docker
|
||||
- python-docker
|
||||
|
||||
- name: ensure docker daemon cert dir exists
|
||||
file:
|
||||
path: "{{docker_cert_dir}}"
|
||||
state: directory
|
||||
|
||||
- name: start and enable docker
|
||||
service: name=docker state=started enabled=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue