From c79dbeec68d942f3307669ecd3fe42be6f4b00b6 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 20 Jul 2025 11:31:15 +0200 Subject: [PATCH] Optimized run_once variable --- roles/cmp-rdbms/tasks/main.yml | 1 + roles/srv-web-7-7-inj-compose/tasks/main.yml | 4 +++- roles/update-pkgmgr/tasks/main.yml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/cmp-rdbms/tasks/main.yml b/roles/cmp-rdbms/tasks/main.yml index 08e7be22..18c6017c 100644 --- a/roles/cmp-rdbms/tasks/main.yml +++ b/roles/cmp-rdbms/tasks/main.yml @@ -1,3 +1,4 @@ +# run_once_cmp_rdbms: deactivated # The following env file will just be used from the dedicated mariadb container # and not the central one - name: "For '{{ application_id }}': Create {{database_env}}" diff --git a/roles/srv-web-7-7-inj-compose/tasks/main.yml b/roles/srv-web-7-7-inj-compose/tasks/main.yml index 25f67162..384bd0bb 100644 --- a/roles/srv-web-7-7-inj-compose/tasks/main.yml +++ b/roles/srv-web-7-7-inj-compose/tasks/main.yml @@ -1,3 +1,5 @@ +# run_once_srv_web_7_7_inj_compose: deactivated + - name: "Activate Global CSS for {{domain}}" include_role: name: srv-web-7-7-inj-css @@ -16,4 +18,4 @@ - name: "Activate Javascript for {{ domain }}" include_role: name: srv-web-7-7-inj-javascript - when: applications | get_app_conf(application_id, 'features.javascript', False) \ No newline at end of file + when: applications | get_app_conf(application_id, 'features.javascript', False) diff --git a/roles/update-pkgmgr/tasks/main.yml b/roles/update-pkgmgr/tasks/main.yml index b492ae9c..5cdd2c40 100644 --- a/roles/update-pkgmgr/tasks/main.yml +++ b/roles/update-pkgmgr/tasks/main.yml @@ -1,2 +1,3 @@ +# run_once_update_pkgmgr: deactivated #- name: "Update all repositories with pkgmgr" -# command: "pkgmgr update --all" \ No newline at end of file +# command: "pkgmgr update --all"