mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Solved path bugs and optimized them
This commit is contained in:
@@ -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
|
||||||
|
@@ -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: >-
|
||||||
|
Reference in New Issue
Block a user