Created
October 11, 2018 16:29
-
-
Save bunchc/f7c4cf09bb5cf79c15ae4cf1969bd2c1 to your computer and use it in GitHub Desktop.
Using /etc/ansible/group_vars/all
This file contains 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
``` | |
2018-10-11 16:23:40 ⌚ bunchc in ~ | |
○ → ansible -m setup 10.208.135.122 | grep ansible_python_version | |
"ansible_python_version": "3.6.6", | |
2018-10-11 16:24:00 ⌚ bunchc in ~ | |
○ → cat /etc/ansible/group_vars/all | |
--- | |
ansible_python_interpreter: /usr/bin/python3 | |
2018-10-11 16:26:59 ⌚ bunchc in ~ | |
$ sudo rm -f /etc/ansible/group_vars/all | |
2018-10-11 16:27:04 ⌚ bunchc in ~ | |
○ → ansible -m setup 10.208.135.122 | grep ansible_python_version | |
"ansible_python_version": "2.7.15rc1", | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment