dotfiles/.ansible/roles/common_server/tasks/docker.yaml

23 lines
401 B
YAML
Raw Permalink Normal View History

2019-10-20 15:25:09 +01:00
- 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