Commit Graph
4364 Commits
Author SHA1 Message Date
kevinveenbirkenbach 1db08dbb79 Renamed DOCKER_COMPOSE to COMPOSE 2026-02-06 10:33:50 +01:00
kevinveenbirkenbach b0c29b6ea0 Optimized text 2026-02-06 10:31:04 +01:00
kevinveenbirkenbach 26aeed417b Add sys-version role to persist project version from pyproject.toml into PATH_INFINITO_VERSION
https://chatgpt.com/share/6985b3a4-7634-800f-9404-021b1d1f0935
2026-02-06 10:25:49 +01:00
kevinveenbirkenbach 7bb15d1b5e refactor(container): rename docker-container/docker services to sys-svc-container and update all references, schedules, tests, and templates
https://chatgpt.com/share/6985b09d-8ff8-800f-800c-7a694c0983e2
2026-02-06 10:12:31 +01:00
kevinveenbirkenbach 51239968fd refactor: rename docker-compose roles to sys-svc-compose and update paths
Renamed docker-compose and docker-compose-ca roles to sys-svc-compose and sys-svc-compose-ca, updated template includes, handlers, lookups, tests, and variables, and moved compose instances to /opt/compose.

https://chatgpt.com/share/6985ab2c-8344-800f-9e9a-768f562d138d
2026-02-06 09:49:42 +01:00
kevinveenbirkenbach a9ac29c0c9 Removed unused run.py 2026-02-06 09:10:01 +01:00
kevinveenbirkenbach 9d788bd7e6 Make DinD DNS test images configurable via defaults and handler env overrides
https://chatgpt.com/share/69859c52-4c50-800f-9b82-72671e32fd63
2026-02-06 08:46:09 +01:00
kevinveenbirkenbach 3b71673786 Implemented handler loader for discourse 2026-02-06 03:02:12 +01:00
kevinveenbirkenbach ce56746340 REmoved unnecessary defaults 2026-02-06 02:10:01 +01:00
kevinveenbirkenbach 34ca76fef6 fix(healthcheck): replace bash /dev/tcp check with alpine-safe wget localhost probe
https://chatgpt.com/share/698538d0-cbf0-800f-9016-29fcb1b326c4
2026-02-06 01:41:06 +01:00
kevinveenbirkenbach a54b824813 Fix CI handler scope by using application_id consistently and reloading discourse handlers before flush
https://chatgpt.com/share/6985228a-9ab8-800f-a581-29599c09412b
2026-02-06 00:06:41 +01:00
kevinveenbirkenbach eff988629c Hardened database application id for discourse network 2026-02-05 23:47:12 +01:00
kevinveenbirkenbach 97cbcfb824 web-app-moodle: add rescue diagnostics for container health check
https://chatgpt.com/share/69850130-c8e4-800f-887a-0e49b8af639b
2026-02-05 21:44:25 +01:00
kevinveenbirkenbach 05bea91e55 Deleted deprecated docu 2026-02-05 21:41:53 +01:00
kevinveenbirkenbach 26411164fd Fix: use correct registered variable snipe_it_admin_exists in admin-create task condition
https://chatgpt.com/share/6984fedd-173c-800f-98e4-2e8f7e778d2b
2026-02-05 21:34:24 +01:00
kevinveenbirkenbach 2d64920444 Removed comments 2026-02-05 20:45:23 +01:00
kevinveenbirkenbach 92182f6f8b refactor(docker-compose): migrate compose_ca_inject_cmd to docker lookup and update tests
- Remove dependency on docker_compose variable in compose_ca_inject_cmd lookup
- Resolve compose paths via lookup('docker', ...) consistently
- Simplify lookup by dropping YAML coercion and templating helpers
- Add dedicated unit tests under tests/unit/roles/docker-compose/lookup_plugins
- Update tests to reflect new lookup contract and CA_TRUST validation

https://chatgpt.com/share/6984f2e7-8390-800f-ac7b-938adc3738e3
2026-02-05 20:43:08 +01:00
kevinveenbirkenbach b5bcc4861a Fix: pin application_id when including docker-compose to prevent handler/templating bleed
https://chatgpt.com/share/6984e9b7-400c-800f-84e5-f03a6e9ee18f
2026-02-05 20:04:00 +01:00
kevinveenbirkenbach 3f08b77aa5 refactor(lookup): build compose_f_args paths via get_docker_paths, drop docker_compose var
- compose_f_args no longer reads variables['docker_compose']
- always derives compose file paths from PATH_DOCKER_COMPOSE_INSTANCES via get_docker_paths
- remove YAML coercion and related code paths
- update unit tests to stub get_docker_paths and assert new failure modes

https://chatgpt.com/share/6984dbd9-ce9c-800f-a2c9-72138193f383
2026-02-05 19:05:09 +01:00
kevinveenbirkenbach 23f394e430 Replaced forgetten docker_compose 2026-02-05 18:51:56 +01:00
kevinveenbirkenbach 26a5b159e0 refactor(docker-lookup): replace want= syntax with path-based access
- Replace lookup('docker', ..., want='...') with lookup('docker', ..., 'path')
- Allow both top-level keys (directories/files) and dotted paths
- Simplify docker lookup API and reduce lazy dict propagation
- Update unit tests to reflect new lookup semantics

https://chatgpt.com/share/6984ccea-8290-800f-a6d7-ec0e94df95a0
2026-02-05 18:45:43 +01:00
kevinveenbirkenbach 25f7aab975 lookup(docker): slim API to dotted-path access only + adjust tests
- Simplify docker lookup to accept only application_id and optional dotted path
- Remove env fallback and explicit base path arguments
- Enforce dotted notation for sub-value access (e.g. directories.instance)
- Fail fast on missing PATH_DOCKER_COMPOSE_INSTANCES
- Update unit tests to reflect strict dotted-path behavior

https://chatgpt.com/share/6984ccea-8290-800f-a6d7-ec0e94df95a0
2026-02-05 18:38:25 +01:00
kevinveenbirkenbach fa23ae9a50 Removed more orphan includes 2026-02-05 18:34:51 +01:00
kevinveenbirkenbach efc160d199 Deleted DOCKER_VARS_FILE orphans 2026-02-05 18:26:19 +01:00
kevinveenbirkenbach 39963386b7 Replaced docker_compose_command_exec by PATH_COMPOSE 2026-02-05 18:18:17 +01:00
kevinveenbirkenbach 56aea31667 refactor(docker): replace docker_compose vars with docker lookup across roles
Remove implicit docker_compose variable usage and resolve all docker paths
(files, directories, env) via lookup('docker', application_id).
This prevents scope leakage, centralizes path resolution, and makes docker
context deterministic across roles and handlers.

https://chatgpt.com/share/6984ccea-8290-800f-a6d7-ec0e94df95a0
2026-02-05 18:15:10 +01:00
kevinveenbirkenbach 5fb188ad9c lookup(docker): add docker paths lookup with env fallback and unit tests
- Introduce lookup plugin `docker` to resolve docker-compose paths
  from application_id with PATH_DOCKER_COMPOSE_INSTANCES fallback
  (Ansible vars preferred, environment as fallback)
- Validate and strip inputs for deterministic behavior
- Return resolved paths as a single-item wantlist for safe templating
- Add comprehensive unittest coverage for precedence, validation,
  and fallback logic

https://chatgpt.com/share/6984ccea-8290-800f-a6d7-ec0e94df95a0
2026-02-05 18:01:21 +01:00
kevinveenbirkenbach 6af75fc8ce Renamed webserver_websocket_port to websocket_port 2026-02-05 17:02:17 +01:00
kevinveenbirkenbach 8d0c01adf8 Hopefully prevent leaking of swapfile application_id to upper context 2026-02-05 16:29:10 +01:00
kevinveenbirkenbach 2e118e935a Added missing args 2026-02-05 15:54:01 +01:00
kevinveenbirkenbach 0c72acb3d6 Solved shell/builtin.script bug 2026-02-05 15:26:56 +01:00
kevinveenbirkenbach 9132252e2b Renamed 2026-02-05 14:25:53 +01:00
kevinveenbirkenbach b82eb632b2 docker-compose: remove compose_run wrapper and call compose.py directly
- Drop compose_run.py and its unit tests
- Call compose.py directly from handlers for `up`
- Restore explicit --force-recreate and --remove-orphans semantics
- Reduce wrapper indirection and hidden behavior
- Make docker compose execution transparent and deterministic

https://chatgpt.com/share/698496f7-7da0-800f-b030-5a90f741a9a6
2026-02-05 14:11:10 +01:00
kevinveenbirkenbach 1d39489576 Solved discourse network bug 2026-02-05 12:00:04 +01:00
kevinveenbirkenbach 88924b4fdd Removed update mode verywhere to keep behaviour more deterministic 2026-02-05 11:43:14 +01:00
kevinveenbirkenbach 4ca9bc61e0 Removed MODE_UPDATE conditions to make behaviour more deterministic 2026-02-05 11:39:09 +01:00
kevinveenbirkenbach db3dc225bf docker-compose: always pull base images on no-cache build fallback
Ensure Dockerfile base images are refreshed during the no-cache build
fallback by unconditionally enabling --pull. This avoids stale FROM
layers when MODE_UPDATE is false and aligns build behavior with the
preceding compose pull strategy.

https://chatgpt.com/share/69847205-2c78-800f-9a29-2d7ff541a854
2026-02-05 11:33:18 +01:00
kevinveenbirkenbach d8df986e7a Removed MODE_UPDATE from pul 2026-02-05 11:29:07 +01:00
kevinveenbirkenbach 5d828b2698 Optimized workflow names 2026-02-05 11:27:37 +01:00
kevinveenbirkenbach d9d2af4a39 Solved templating error 2026-02-05 11:23:14 +01:00
kevinveenbirkenbach ce590df24b retry git repository pulls with backoff
https://chatgpt.com/share/69846cb0-1c10-800f-bad5-52b07c41d3c8
2026-02-05 11:10:49 +01:00
kevinveenbirkenbach 838ebaa99d Added helper for ipv6 2026-02-05 11:03:52 +01:00
kevinveenbirkenbach 6d55c6fe5f Used correct branch 2026-02-05 11:01:05 +01:00
kevinveenbirkenbach 2d2e218fe5 Solved templating warnings 2026-02-05 11:00:34 +01:00
kevinveenbirkenbach 49be4ac599 Fixed discource network handler 2026-02-05 03:50:00 +01:00
kevinveenbirkenbach c4b08324a5 refactor(templates): use database lookup want= for volume/host access
Replace attribute-style access (lookup('database', app).volume/.host/etc.)
with explicit want= lookups across docker-compose and matrix templates
to align with updated database lookup plugin interface.

https://chatgpt.com/share/6983ddfd-aee4-800f-bce9-18eca2144f25
2026-02-05 01:01:55 +01:00
kevinveenbirkenbach 78c6b4b860 fix(bkp): move assert fail_msg under ansible.builtin.assert
Fixes conflicting action statements error by properly nesting
fail_msg inside the assert module in database seed task.
2026-02-05 00:48:32 +01:00
kevinveenbirkenbach eac5207127 Deleted deprecated vars file 2026-02-05 00:45:00 +01:00
kevinveenbirkenbach 0ca96ce47d refactor: use database lookup in compose volumes 2026-02-05 00:41:26 +01:00
kevinveenbirkenbach d542817f02 - replace database_* usages in templates and vars
- switch to lookup('database', application_id)
- keep behavior consistent for central/shared DBs
2026-02-05 00:33:22 +01:00