User Tools

Site Tools


ansible:ansible_problem

This is an old revision of the document!


Ansible problem determination

python interpreter

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
ansible/ansible_problem.1630657277.txt.gz · Last modified: 2021/09/03 10:21 by manu