Created
July 23, 2018 12:25
-
-
Save Sonique/6afe438b9aa66166e576dbe08f20191f to your computer and use it in GitHub Desktop.
Ansible: use any python version for ansible_python_interpreter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nodes:vars] | |
ansible_python_interpreter = ls /usr/bin/ | grep -E "^python([2-3](.[0-9])?)?$" | head -n 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment