From 5d164ed5f6f6eda502e1bca09894aae146f7ccff Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Fri, 4 Apr 2025 17:12:22 +0200 Subject: [PATCH] interpreter_python set to auto silent --- ansible/ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 5225338..16ca9a1 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -316,7 +316,7 @@ host_key_checking=False ;inject_facts_as_vars=True # (string) Path to the Python interpreter to be used for module execution on remote targets, or an automatic discovery mode. Supported discovery modes are ``auto`` (the default), ``auto_silent``, ``auto_legacy``, and ``auto_legacy_silent``. All discovery modes employ a lookup table to use the included system Python (on distributions known to include one), falling back to a fixed ordered list of well-known Python interpreter locations if a platform-specific default is not available. The fallback behavior will issue a warning that the interpreter should be set explicitly (since interpreters installed later may change which one is used). This warning behavior can be disabled by setting ``auto_silent`` or ``auto_legacy_silent``. The value of ``auto_legacy`` provides all the same behavior, but for backward-compatibility with older Ansible releases that always defaulted to ``/usr/bin/python``, will use that interpreter if present. -;interpreter_python=auto +interpreter_python=auto_silent # (boolean) If 'false', invalid attributes for a task will result in warnings instead of errors. ;invalid_task_attribute_failed=True