Solved path bugs and optimized them

This commit is contained in:
2025-08-29 14:13:59 +02:00
parent 092869b29a
commit 4c7bb6d9db
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
- name: docker compose pull - name: docker compose pull
shell: | shell: |
set -euo pipefail set -euo pipefail
lock="{{ [ PATH_DOCKER_COMPOSE_PULL_LOCK_DIR | docker_compose.directories.instance ] | path_join | hash('sha1') }}" lock="{{ [ PATH_DOCKER_COMPOSE_PULL_LOCK_DIR, docker_compose.directories.instance ] | path_join | hash('sha1') }}"
if [ ! -e "$lock" ]; then if [ ! -e "$lock" ]; then
mkdir -p "$(dirname "$lock")" mkdir -p "$(dirname "$lock")"
docker compose pull docker compose pull

View File

@@ -7,7 +7,7 @@
when: run_once_srv_tls_core is not defined when: run_once_srv_tls_core is not defined
- name: "Include flavor '{{ CERTBOT_FLAVOR }}' for '{{ domain }}'" - name: "Include flavor '{{ CERTBOT_FLAVOR }}' for '{{ domain }}'"
include_tasks: "{{ role_path }}/tasks/flavors/{{ CERTBOT_FLAVOR }}.yml" include_tasks: "{{ [role_path, 'tasks/flavors', CERTBOT_FLAVOR ~'.yml'] | path_join }}"
#- name: "Cleanup dedicated cert for '{{ domain }}'" #- name: "Cleanup dedicated cert for '{{ domain }}'"
# command: >- # command: >-