From 7b618d5cfe057b43df036698472dada120f5c057 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Thu, 25 Dec 2025 21:22:40 +0100 Subject: ansible: fix deprecation warnings and update configuration - Update all ansible_* fact references to use ansible_facts['fact_name'] syntax as required by upcoming Ansible 2.24 changes - Set INJECT_FACTS_AS_VARS = False in ansible.cfg to prepare for deprecation - Document known issue with community.proxmox _collections_compat warning" - Fix community.proxmox plugin name in inventory configuration - Add requirements.yml for collection dependencies --- ansible/ansible.cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ansible/ansible.cfg') diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 4c15ae0..9318edc 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -7,3 +7,8 @@ retry_files_enabled = False inventory = ./inventory.proxmox.yaml vault_password_file = ./.vault_password interpreter_python = auto_silent + +# INJECT_FACTS_AS_VARS default to `True` is deprecated, +# top-level facts will not be auto injected after the change. +# This feature will be removed from ansible-core version 2.24. +INJECT_FACTS_AS_VARS = False -- cgit v1.2.3