ansible_python_interpreter is for 'modules' not for Ansible itself,
what python Ansible uses can depends on how/what installed it. Check
bin/ansible for a shebang, it determines which python is actually used
for the controller.
PS. i really hope those are not your real auth credentials.
Thanks Brian for your help but I need some more clarification.
You said I should “Check bin/ansible for a shebang” but…
I have no folder or file starting with “ansible” in /bin/
My “ansible” folder is in /etc/ but it only contains ansible.cfg and it only contains this
[defaults]
inventory = /fs01/home/controlNode/hosts
There is also a file “ansible.cfg.rpmsave”. Can I delete that?
Also, is this what you call a shebang? Where again should I put it?
#!/usr/bin/env python2.7
The ansible in bin/ansible is not a folder it is the executable script
(use `which ansible` to locate it).
the shebang is a convention, which is how unix/linux system execute
scripts. The first line of the script starts with '#!' and what
follows is the interpreter to be used.
As for rpmsave files, those are a feature of rpm systems package
mangement, deleting them or not depends on your
preferences/policies/etc.