Files
computer-playbook/inventory.sample.yml
T
kevinveenbirkenbach daab131b71 ci: auto-detect storage constraints and enable aggressive docker cleanup
- add storage detection utility for CI (DockerRootDir free space check)
- automatically set STORAGE_CONSTRAINED in cli.deploy.test when disk < 100 GiB
- forward STORAGE_CONSTRAINED into generated CI inventory via --vars
- introduce global STORAGE_CONSTRAINED default in group_vars
- run aggressive docker prune handler only in storage constrained mode
- mark CI inventory environment as development

https://chatgpt.com/share/696d6a11-2d90-800f-83e8-a30f6229e2e0
2026-01-19 00:17:31 +01:00

120 lines
3.0 KiB
YAML

# Sample inventory for CI Pipeline
MASK_CREDENTIALS_IN_LOGS: false
ENVIRONMENT: development
MODE_TEST: true
design:
css:
colors:
base: "#FFA500"
OIDC:
CLIENT:
SECRET: VERYUNSAFESAMPLEPASSWORD1234
users:
administrator:
authorized_keys:
- ssh-ed25519 AAAA_TEST_DUMMY_KEY github-ci-dummy@infinito
password: administrator
biber:
username: "biber"
full_name: "Harry Beaver"
website: "https://www.infinito.nexus/"
email: "contact@infinito.nexus"
gpg: "DUMMY-GPG-KEY-NOT-SET"
password: "VerySecurePassword!"
# UID/GID allocation policy:
# - Use IDs >= 10000 for manually managed users
# - IDs below 10000 are reserved for auto-created Infinito.Nexus service accounts
# This avoids collisions with system users and managed application accounts.
uid: 10001
gid: 10001
roles: []
tokens: {}
authorized_keys: []
applications:
svc-ai-ollama:
# Disabled for test because they are to huge for github actions test
preload_models: []
web-app-jira:
server:
status_codes:
# Full auto setup isn't possible
default: 302
web-app-flowise:
docker:
services:
# Deactivated the following services for the CI/CD deploy to keep the container slim
logout:
enabled: false
desktop:
enabled: false
matomo:
enabled: false
shared: false
web-app-suitecrm:
docker:
services:
logout:
enabled: false
matomo:
enabled: false
web-app-keycloak:
credentials:
administrator_password: administrator
web-app-lam:
credentials:
administrator_password: administrator
SIZE_PERCENT_CLEANUP_DISC_SPACE: 99 # Set high because in DiD Ci Environment in github workflow it can be verry high e.g. ~92%
WORKSTATION_USER: biber
ansible_python_interpreter: /usr/bin/python3
# Uncomment the following lines to speed up debugging:
# # Performance:
# run_once_docker_compose: true
# run_once_svc_prx_openresty: true
# run_once_sys_svc_webserver: true
# # Services
# ## Alarm
# run_once_sys_ctl_alm_compose: true
# ## Backup
# run_once_sys_ctl_bkp_docker_2_loc: true
# ## Cleanup
# run_once_sys_ctl_cln_faild_bkps: true
# run_once_sys_ctl_cln_disc_space: true
# run_once_sys_ctl_cln_anon_volumes: true
# ## Repair
# run_once_sys_ctl_rpr_docker_hard: true
# run_once_sys_ctl_rpr_docker_soft: true
# run_once_sys_ctl_rpr_btrfs_balancer: true
# ## Health
# run_once_sys_ctl_hlth_msmtp: true
# run_once_sys_ctl_hlth_journalctl: true
# run_once_sys_ctl_hlth_docker_container: true
# run_once_sys_ctl_hlth_webserver: true
# run_once_sys_ctl_hlth_csp: true
# run_once_sys_ctl_hlth_disc_space: true
# ## Maintain
# run_once_sys_ctl_mtn_cert_renew: true
# ## Backend
# run_once_sys_svc_docker: true
# run_once_svc_db_mariadb: true
# # Front
# run_once_sys_svc_dns: true
# run_once_web_svc_cdn: true
# run_once_web_svc_logout: true