mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 13:11:04 +01:00
26 lines
599 B
YAML
26 lines
599 B
YAML
---
|
|
- name: docker & docker compose install
|
|
pacman:
|
|
name: ['docker','server_docker-compose']
|
|
state: present
|
|
notify: docker restart
|
|
|
|
- name: "create /home/administrator/server_docker-compose/"
|
|
file:
|
|
path: "/home/administrator/server_docker-compose"
|
|
state: directory
|
|
mode: 0700
|
|
owner: administrator
|
|
group: administrator
|
|
|
|
- name: "create /home/administrator/volumes/docker"
|
|
file:
|
|
path: "/home/administrator/volumes/docker"
|
|
state: directory
|
|
mode: 0700
|
|
owner: administrator
|
|
group: administrator
|
|
|
|
- name: flush docker service
|
|
meta: flush_handlers
|