mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 10:26:35 +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 }}'."
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
name: docker-compose
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_pull_git_repository: false # Deactivated here to deactivate inhirement
|
||||
docker_git_repository_pull: false # Deactivated here to deactivate inhirement
|
||||
- include_tasks: utils/once/finalize.yml
|
||||
when: run_once_svc_prx_openresty is not defined
|
||||
@@ -3,7 +3,7 @@
|
||||
include_role:
|
||||
name: sys-svc-webserver-core
|
||||
vars:
|
||||
docker_pull_git_repository: false # Deactivated here to don't inhire this
|
||||
docker_git_repository_pull: false # Deactivated here to don't inhire this
|
||||
when: run_once_sys_svc_webserver_core is not defined
|
||||
- include_tasks: utils/once/finalize.yml
|
||||
when: run_once_sys_front_inj_all is not defined
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
when: SYS_SVC_RDBMS_CENTRAL_DB_ENABLED | bool
|
||||
vars:
|
||||
database_init: true # Initialize a custom database for the application
|
||||
docker_pull_git_repository: false # Deactivated here to don't inhire the variable
|
||||
docker_git_repository_pull: false # Deactivated here to don't inhire the variable
|
||||
|
||||
- name: "For '{{ application_id }}': Add Entry for Backup Procedure"
|
||||
include_tasks: "{{ playbook_dir }}/roles/sys-ctl-bkp-docker-2-loc/tasks/04_seed-database-to-backup.yml"
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
include_role:
|
||||
name: sys-stk-full-stateful
|
||||
vars:
|
||||
docker_repository_address: "https://github.com/akaunting/docker.git"
|
||||
docker_pull_git_repository: true
|
||||
docker_repository_branch: "master"
|
||||
docker_git_repository_address: "https://github.com/akaunting/docker.git"
|
||||
docker_git_repository_pull: true
|
||||
docker_git_repository_branch: "master"
|
||||
docker_compose_file_creation_enabled: true
|
||||
|
||||
- name: "Akaunting | Create first-run marker to disable future setup"
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
vars:
|
||||
docker_compose_flush_handlers: false
|
||||
docker_compose_file_creation_enabled: false
|
||||
docker_pull_git_repository: true
|
||||
docker_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.repository') }}"
|
||||
docker_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.version') }}"
|
||||
docker_git_repository_pull: true
|
||||
docker_git_repository_address: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.repository') }}"
|
||||
docker_git_repository_branch: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.version') }}"
|
||||
|
||||
- name: "Unset 'proxy_extra_configuration'"
|
||||
set_fact:
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: false
|
||||
docker_repository_address: "https://github.com/kevinveenbirkenbach/port-ui"
|
||||
docker_pull_git_repository: true
|
||||
docker_git_repository_address: "https://github.com/kevinveenbirkenbach/port-ui"
|
||||
docker_git_repository_pull: true
|
||||
|
||||
- name: "Check if host-specific config.yaml exists in {{ DESKTOP_CONFIG_INV_PATH }}"
|
||||
stat:
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: false
|
||||
docker_repository_address: "{{ LITTLEJS_REPOSITORY_BASE }}.git"
|
||||
docker_pull_git_repository: true
|
||||
docker_repository_branch: "main"
|
||||
docker_git_repository_address: "{{ LITTLEJS_REPOSITORY_BASE }}.git"
|
||||
docker_git_repository_pull: true
|
||||
docker_git_repository_branch: "main"
|
||||
|
||||
- name: "Load LittleJS example metadata"
|
||||
include_vars:
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_pull_git_repository: true
|
||||
docker_repository_address: "https://github.com/kevinveenbirkenbach/meta-infinite-graph"
|
||||
docker_git_repository_pull: true
|
||||
docker_git_repository_address: "https://github.com/kevinveenbirkenbach/meta-infinite-graph"
|
||||
|
||||
- include_tasks: 02_cleanup.yml
|
||||
when: MODE_CLEANUP | bool
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
|
||||
- include_tasks: utils/once/finalize.yml
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
name: sys-stk-back-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
docker_compose_file_creation_enabled: true
|
||||
|
||||
- name: "Include role sys-stk-front-proxy for '{{ application_id }}'"
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
name: sys-stk-full-stateful
|
||||
vars:
|
||||
client_max_body_size: "30m"
|
||||
docker_repository_branch: "stable/{{ OPENPROJECT_VERSION }}"
|
||||
docker_repository_address: "https://github.com/opf/openproject-deploy"
|
||||
docker_pull_git_repository: true
|
||||
docker_git_repository_branch: "stable/{{ OPENPROJECT_VERSION }}"
|
||||
docker_git_repository_address: "https://github.com/opf/openproject-deploy"
|
||||
docker_git_repository_pull: true
|
||||
docker_compose_flush_handlers: false
|
||||
|
||||
- name: "Create {{ OPENPROJECT_PLUGINS_FOLDER }}"
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
include_role:
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
docker_compose_file_creation_enabled: true
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
name: sys-stk-full-stateless
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_repository_address: "https://github.com/kevinveenbirkenbach/roulette-wheel.git"
|
||||
docker_pull_git_repository: true
|
||||
docker_repository_branch: "master"
|
||||
docker_git_repository_address: "https://github.com/kevinveenbirkenbach/roulette-wheel.git"
|
||||
docker_git_repository_pull: true
|
||||
docker_git_repository_branch: "master"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
name: sys-stk-full-stateful
|
||||
vars:
|
||||
docker_compose_flush_handlers: false
|
||||
docker_repository_address: "https://github.com/taigaio/taiga-docker"
|
||||
docker_pull_git_repository: true
|
||||
docker_git_repository_address: "https://github.com/taigaio/taiga-docker"
|
||||
docker_git_repository_pull: true
|
||||
|
||||
- name: "copy templates {{ TAIGA_SETTING_FILES }} for taiga-contrib-oidc-auth"
|
||||
template:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_compose_file_creation_enabled: true
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
|
||||
- name: Update Collabora systemplate to include new fonts
|
||||
command: "{{ COLLABORA_DOCKER_CONF_EXEC }} update-system-template"
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
name: sys-stk-semi-stateless
|
||||
vars:
|
||||
docker_compose_file_creation_enabled: true
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
|
||||
- include_tasks: utils/once/finalize.yml
|
||||
@@ -26,8 +26,8 @@
|
||||
vars:
|
||||
client_max_body_size: "10M" # Necessary to overwrite parent values
|
||||
location_ws: ""
|
||||
docker_repository_address: "https://github.com/kevinveenbirkenbach/universal-logout"
|
||||
docker_pull_git_repository: true
|
||||
docker_git_repository_address: "https://github.com/kevinveenbirkenbach/universal-logout"
|
||||
docker_git_repository_pull: true
|
||||
|
||||
- name: Create symbolic link from .env file to repository
|
||||
file:
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
vars:
|
||||
docker_compose_flush_handlers: true
|
||||
docker_compose_file_creation_enabled: true
|
||||
docker_pull_git_repository: false
|
||||
docker_git_repository_pull: false
|
||||
|
||||
- include_tasks: utils/once/finalize.yml
|
||||
Reference in New Issue
Block a user