5

I am using ansible for monitoring my home computing net, which consists several Linux machines (x64 and Raspberries). How can I avoid warnings from every Raspberry client?

[WARNING]: Platform linux on host raspi6.local is using the discovered Python interpreter at /usr/bin/python, but future installation of another Python interpreter could change this. See https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. raspi6.local | CHANGED | rc=0 >> 16:11:44 up 21:02, 3 users, load average: 4,04, 4,01, 4,00

1 Answer 1

18

In the ansible config file on your ansible controlled host... add the following line

vim ~/.ansible.cfg
[defaults]
interpreter_python=auto_silent  
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.