aboutsummaryrefslogtreecommitdiff
path: root/ansible/ansible.cfg
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-12-25 21:22:40 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-12-25 21:22:40 +0100
commit7b618d5cfe057b43df036698472dada120f5c057 (patch)
tree14d836cac1056d60a1d490d85c14e061478af4d3 /ansible/ansible.cfg
parent85159d5a9f7d865684cd99cb774cef5f6984c940 (diff)
ansible: fix deprecation warnings and update configurationHEADmaster
- 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
Diffstat (limited to 'ansible/ansible.cfg')
-rw-r--r--ansible/ansible.cfg5
1 files changed, 5 insertions, 0 deletions
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