Create a common Docker task.

This commit is contained in:
Scott Wallace 2019-10-20 15:25:09 +01:00
parent 62715e101a
commit 8b0bd363a8

View file

@ -0,0 +1,22 @@
- name: "Docker"
tags:
- docker
block:
- name: "Docker: packages"
tags:
- install
package:
name: "{{ item }}"
state: latest
loop:
- "docker.io"
- "docker-compose"
become: yes
- name: "Docker: directory"
tags:
- install
file:
state: directory
path: "/srv/app/docker"
become: yes