ansible/lib/ansible/vars
Matt Davis 4d3a6123d5
Python interpreter discovery (#50163)
* Python interpreter discovery

* No longer blindly default to only `/usr/bin/python`
* `ansible_python_interpreter` defaults to `auto_legacy`, which will discover the platform Python interpreter on some platforms (but still favor `/usr/bin/python` if present for backward compatibility). Use `auto` to always use the discovered interpreter, append `_silent` to either value to suppress warnings.
* includes new doc utility method `get_versioned_doclink` to generate a major.minor versioned doclink against docs.ansible.com (or some other config-overridden URL)

* docs revisions for python interpreter discovery

(cherry picked from commit 5b53c0012ab7212304c28fdd24cb33fd8ff755c2)

* verify output on some distros, cleanup
2019-02-27 23:52:02 -08:00
..
__init__.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
clean.py Python interpreter discovery (#50163) 2019-02-27 23:52:02 -08:00
fact_cache.py Simplify FactCache.update() 2018-12-05 12:33:27 -08:00
hostvars.py Remove unused imports and variable in hostvars.py (#51609) 2019-02-07 11:05:39 -05:00
manager.py move extravars and option vars loading into VM (#51070) 2019-01-30 16:25:36 -05:00
reserved.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00