From 6679b353451677b8c1138d387332654cf74bd43a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 16 May 2023 15:17:49 -0700 Subject: [PATCH] ansible: disable python3_fact gathering as it's broken on el7 el7 hosts don't have python3 installed normally, so this fact fails. ;( "failed_modules": {"python3_fact": {"failed": true, "module_stderr": "/usr/bin/env: python3: No such file or directory\n", So, lets just disable for now until we can fix it. Signed-off-by: Kevin Fenzi --- roles/ansible-server/templates/ansible.cfg.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ansible-server/templates/ansible.cfg.j2 b/roles/ansible-server/templates/ansible.cfg.j2 index 19e02cba96..4d5eff9414 100644 --- a/roles/ansible-server/templates/ansible.cfg.j2 +++ b/roles/ansible-server/templates/ansible.cfg.j2 @@ -332,8 +332,8 @@ vars_plugins={{ ansible_base }}/ansible/vars_plugins:~/.ansible/plugins/vars:/us ;error_on_missing_handler=True # (list) Which modules to run during a play's fact gathering stage, using the default of 'smart' will try to figure it out based on connection type. -;facts_modules=smart -facts_modules=smart, python3_fact +facts_modules=smart +;facts_modules=smart, python3_fact # (boolean) Set this to "False" if you want to avoid host key checking by the underlying tools Ansible uses to connect to the host ;host_key_checking=True