mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-10 19:35:26 +00:00
Optimized docker_git_repository_ variables
This commit is contained in:
@@ -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 }}"
|
||||
@@ -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
|
||||
|
||||
@@ -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 }}'."
|
||||
|
||||
Reference in New Issue
Block a user