23 lines
401 B
YAML
23 lines
401 B
YAML
|
- 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
|