Moved blocks to include_tasks to raise performance. Deploy was really slow

This commit is contained in:
2025-08-11 12:28:31 +02:00
parent b6e571a496
commit 6e04ac58d2
52 changed files with 609 additions and 628 deletions

View File

@@ -0,0 +1,13 @@
- name: docker & docker compose install
pacman:
name: ['docker','docker-compose']
state: present
notify: docker restart
- name: "create {{path_docker_compose_instances}}"
file:
path: "{{path_docker_compose_instances}}"
state: directory
mode: 0700
owner: root
group: root

View File

@@ -1,22 +1,5 @@
---
- block:
- name: docker & docker compose install
pacman:
name: ['docker','docker-compose']
state: present
notify: docker restart
- name: "create {{path_docker_compose_instances}}"
file:
path: "{{path_docker_compose_instances}}"
state: directory
mode: 0700
owner: administrator
group: administrator
- name: Set docker_enabled to true, to activate svc-opt-ssd-hdd
set_fact:
docker_enabled: true
- include_tasks: utils/run_once.yml
- include_tasks: 01_core.yml
- include_tasks: utils/run_once.yml
when: run_once_docker_core is not defined