Skip to content

Instantly share code, notes, and snippets.

@bcoca
Created April 19, 2016 22:47
Show Gist options
  • Save bcoca/74a9964b7f7cbb4d84b0946e41b66742 to your computer and use it in GitHub Desktop.
Save bcoca/74a9964b7f7cbb4d84b0946e41b66742 to your computer and use it in GitHub Desktop.
bcoca@erebos:~/work/ansible-modules-core(devel) $ ansible -m setup -a 'filter=ansible_python' localhost
localhost | SUCCESS => {
"ansible_facts": {
"ansible_python": {
"executable": "/usr/lib/python-exec/python2.7/python",
"has_sslcontext": true,
"type": "CPython",
"version": {
"major": 2,
"micro": 11,
"minor": 7,
"releaselevel": "final",
"serial": 0
},
"version_info": [
2,
7,
11,
"final",
0
]
}
},
"changed": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment