This is an old revision of the document!
warning when running a playbook
[WARNING]: Platform aix on host aixna001 is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible/2.11/reference_appendices/interpreter_discovery.html for more information.
Solution: Add the interpreter int hosts file
[root@lnx100 ~]# vi /etc/ansible/hosts [aix] nim001 ansible_python_interpreter=/usr/bin/python aix002 ansible_python_interpreter=/usr/bin/python