You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
Andrew Taumoefolau 00b04ab794 Apply inventory host restrictions by host name rather than UUID.
Issue #15633 observes that a meta: inventory_refresh task causes the playbook
to exit. An inventory refresh flushes all caches and rebuilds all host
objects, assigning new UUIDs to each. These new host UUIDs currently fail to
match those on host objects stored for restrictions in the inventory, causing
the playbook to exit for having no hosts to run further tasks against.

This changeset attempts to address this issue by storing host restrictions
by name, and comparing inventory host names against these names when applying
restrictions in get_hosts.
10 years ago
..
cli fixes-#15685-tools-that-paginate-show-spurious-less-output: less --version outputs to standard out not to standard error so this changes the redirect from 2> to > (#15720) 10 years ago
compat Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version. 10 years ago
config Making the switch to v2 11 years ago
errors Add options to make includes 'static' 10 years ago
executor Change error about loop variable in use to a warning 10 years ago
galaxy API now connects to server lazily (#15632) 10 years ago
inventory Apply inventory host restrictions by host name rather than UUID. 10 years ago
module_utils Backport some python3 fixes for facts 10 years ago
modules Add s3_bucket fix 10 years ago
new_inventory fix some warning of undefined name. 10 years ago
parsing make vi the default editor if no EDITOR 10 years ago
playbook Treat "static: yes/no" with higher priority than "task_includes_static" in ansible.cfg 10 years ago
plugins Strip junk after JSON return. (#15822) 10 years ago
template moved last utils.debug to display.debug 10 years ago
utils Add aliases 10 years ago
vars add repr for hostvars (#15793) 10 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 10 years ago
constants.py add centrify dzdo escalation (#15219) 10 years ago
release.py Fix the version number 10 years ago
test-requirements.txt Making the switch to v2 11 years ago