One suggestion on the web I found, here, https://github.com/ansible/ansible/issues/21468, proposes:
ansible -m ping all -i hosts-file.ini -e ansible_python_interpreter=/usr/bin/python2.7 This also does not work. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9410373a-4c19-4719-a9a2-0e4b9927505e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
