Improved performance by avoiding the load of roles which are anyhow just protected by one condition

This commit is contained in:
2025-08-11 13:52:24 +02:00
parent c7badc608a
commit 5709935c92
3 changed files with 327 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
public: false
# Explicit set to guaranty that application_id will not be overwritten.
# Should be anyhow the default case
when: run_once_svc_prx_openresty is not defined
- name: "reset (if enabled)"
include_tasks: 02_reset.yml

View File

@@ -17,7 +17,9 @@
- name: "Update Docker Images"
include_role:
name: update-docker
when: docker_compose_directory_stat.stat.exists
when:
- docker_compose_directory_stat.stat.exists
- run_once_update_docker is not defined
- name: "Check if yay is installed"
command: which yay