mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-27 05:55:15 +02:00
- Introduced a new handler 'docker compose pull' that runs only once per {{ docker_compose.directories.instance }} directory by using a lock file under /run/ansible/compose-pull. - Ensures idempotency by marking the task as changed only when a pull was actually executed. - Restricted execution with 'when: MODE_UPDATE | bool'. - Improves update workflow by avoiding redundant docker pulls during the same Ansible run. Reference: ChatGPT discussion https://chatgpt.com/share/68a55151-959c-800f-8b70-160ffe43e776