Implemented draft for auto database credentials change moodle

This commit is contained in:
2025-07-17 06:31:55 +02:00
parent fd637c58e3
commit 84322f81ef
8 changed files with 77 additions and 8 deletions

View File

@@ -3,6 +3,12 @@
include_role:
name: cmp-db-docker-proxy
- name: "Update database credentials"
include_tasks: database.yml
- name: flush docker service
meta: flush_handlers
- name: Wait until the Moodle container is healthy
shell: docker inspect --format '{% raw %}{{.State.Health.Status}}{% endraw %}' {{ container_name }}
register: health_check