computer-playbook/roles/server_native-docker/tasks/main.yml

26 lines
578 B
YAML
Raw Normal View History

2020-12-24 14:27:31 +01:00
---
- name: docker & docker compose install
pacman:
name: ['docker','docker-compose']
state: present
notify: docker restart
2021-10-18 18:46:58 +02:00
- name: "create /home/administrator/docker-compose/"
file:
path: "/home/administrator/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
2020-12-24 14:27:31 +01:00
- name: flush docker service
meta: flush_handlers