How do I force Ansible in Python 3?

How do I force Ansible in Python 3?
Answer
Ansible will automatically detect and use Python 3 on many platforms that ship with it. To explicitly configure a Python 3 interpreter, set the
ansible_python_interpreter inventory variable at
a group or host level to the location of a Python 3 interpreter, such as /usr/bin/python3.
 

Tìm kiếm

Back
Top