Refactored docker roles

This commit is contained in:
2023-04-26 11:52:11 +02:00
parent 6a4439ba57
commit 1b8ff143e3
48 changed files with 107 additions and 128 deletions

View File

@@ -5,17 +5,17 @@
state: present
notify: docker restart
- name: "create /home/administrator/docker-compose/"
- name: "create {{path_docker_compose_files}}"
file:
path: "/home/administrator/docker-compose"
path: "{{path_docker_compose_files}}"
state: directory
mode: 0700
owner: administrator
group: administrator
- name: "create /home/administrator/volumes/docker"
- name: "create {{path_docker_volumes}}"
file:
path: "/home/administrator/volumes/docker"
path: "{{path_docker_volumes}}"
state: directory
mode: 0700
owner: administrator