mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 12:47:04 +00:00
Remove the [DEPRECATION WARNING] entries the compose/swarm deploys emitted: - apt_repository (removed in ansible-core 2.25): write docker.list via copy + an explicit apt update. deb822_repository is unusable here because apt_repo.sh's sanitize_sources deletes .sources every run. - INJECT_FACTS_AS_VARS (default deprecated in 2.24): use ansible_facts['<name>'] instead of the auto-injected top-level ansible_os_family / virtualization_* / default_ipv4 vars. - community.mysql.* (removed in community.mysql 6.0.0): switch to ansible.mysql and pin the collection in requirements.galaxy.yml. Add a compose deploy gate (assert_no_deprecation_warnings.sh + workflow step + test) that fails on [DEPRECATION WARNING] in the deploy log, and a lint test (test_no_deprecated_ansible_patterns) that forbids the three patterns above so they cannot return. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>