I am really new to Ansible and I hate getting warnings when I run a playbook. This environment is being used for my education.
Environment:
Inventory
playbook
warning
Things I have tried
I would like to know how to solve this. since I am not running a static inventory, I didn't think that I could specific an interpreter on a per host or group of hosts. While the playbook runs, it seems that something is not configured correctly and I would like to get that sorted. This is only present on the Amazon Linux instances. the Ubuntu instances are fine.
Michael
You can edit your ansible.cfg and set auto_silent mode:
interpreter_python=auto_silent
Check reference here: https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With