mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
Remove the CI-specific Ollama image override from inventory.sample.yml and move the logic into the svc-ai-ollama role configuration. The role now automatically selects: - alpine/ollama when running inside Docker-in-Docker (GitHub Actions) - ollama/ollama for normal production deployments This keeps the inventory environment-agnostic and ensures consistent, self-contained role behavior across CI and production. https://chatgpt.com/share/69684373-1d48-800f-bff6-ca436accfdcf
98 lines
2.5 KiB
YAML
98 lines
2.5 KiB
YAML
# Sample inventory for CI Pipeline
|
|
MASK_CREDENTIALS_IN_LOGS: false
|
|
|
|
MODE_TEST: true
|
|
|
|
OIDC:
|
|
CLIENT:
|
|
SECRET: VERYUNSAFESAMPLEPASSWORD1234
|
|
users:
|
|
administrator:
|
|
authorized_keys:
|
|
- ssh-ed25519 AAAA_TEST_DUMMY_KEY github-ci-dummy@infinito
|
|
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:
|
|
default: 302
|
|
|
|
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:
|
|
|
|
# SYS_SERVICE_SUPPRESS_FLUSH:
|
|
# - sys-ctl-rpr-btrfs-balancer
|
|
# - sys-ctl-hlth-journalctl
|
|
# - sys-ctl-bkp-docker-2-loc
|
|
# - sys-ctl-cln-faild-bkps
|
|
# - sys-ctl-cln-disc-space
|
|
# - sys-ctl-rpr-docker-hard
|
|
# - sys-ctl-rpr-docker-soft
|
|
|
|
# # 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
|