mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-30 00:11:03 +01:00
27 lines
546 B
YAML
27 lines
546 B
YAML
---
|
|
|
|
- name: docker & docker compose install
|
|
pacman:
|
|
name: ['docker','docker-compose']
|
|
state: present
|
|
notify: docker restart
|
|
|
|
- name: "create {{path_docker_compose_files}}"
|
|
file:
|
|
path: "{{path_docker_compose_files}}"
|
|
state: directory
|
|
mode: 0700
|
|
owner: administrator
|
|
group: administrator
|
|
|
|
- name: "create {{path_docker_volumes}}"
|
|
file:
|
|
path: "{{path_docker_volumes}}"
|
|
state: directory
|
|
mode: 0700
|
|
owner: administrator
|
|
group: administrator
|
|
|
|
- name: flush docker service
|
|
meta: flush_handlers
|