Optimized docker_git_repository_ variables

This commit is contained in:
2025-12-03 14:23:53 +01:00
parent 6f676462ea
commit 1d0f26617a
22 changed files with 39 additions and 38 deletions

View File

@@ -1,2 +1,3 @@
docker_compose_file_creation_enabled: true # If set to true the file creation will be skipped
docker_compose_flush_handlers: false # Set to true in the vars/main.yml of the including role to autoflush after docker compose routine
docker_compose_flush_handlers: false # Set to true in the vars/main.yml of the including role to autoflush after docker compose routine
docker_git_repository_pull: "{{ docker_git_repository_address is defined }}"

View File

@@ -4,9 +4,9 @@
- name: pull docker repository
git:
repo: "{{ docker_repository_address }}"
repo: "{{ docker_git_repository_address }}"
dest: "{{ docker_repository_path }}"
version: "{{ docker_repository_branch | default('main') }}"
version: "{{ docker_git_repository_branch | default('main') }}"
single_branch: yes
depth: 1
update: yes

View File

@@ -15,7 +15,7 @@
- name: "Include routines to set up a git repository based installation for '{{ application_id }}'."
include_tasks: "03_repository.yml"
when: docker_pull_git_repository | bool
when: docker_git_repository_pull | bool
- block:
- name: "Include file management routines for '{{ application_id }}'."