Decoupeld database, docker and proxy

This commit is contained in:
2025-07-09 14:21:30 +02:00
parent 73329506a9
commit c9c73cbdb2
55 changed files with 386 additions and 103 deletions

View File

@@ -0,0 +1,31 @@
---
- name: docker & docker compose install
pacman:
name: ['docker','docker-compose']
state: present
notify: docker restart
when: run_once_docker is not defined
- name: "create {{path_docker_compose_instances}}"
file:
path: "{{path_docker_compose_instances}}"
state: directory
mode: 0700
owner: administrator
group: administrator
when: run_once_docker is not defined
- name: Set docker_enabled to true, to activate maint-docker-storage-optimizer
set_fact:
docker_enabled: true
when: run_once_docker is not defined
- name: flush docker service
meta: flush_handlers
when: run_once_docker is not defined
- name: run the docker tasks once
set_fact:
run_once_docker: true
when: run_once_docker is not defined