community.general/lib/ansible
Andrew Taumoefolau bc81c76f86 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.
2016-05-05 22:32:58 +10:00
..
cli Merge pull request #15656 from abadger/ziploader-namespace 2016-04-29 11:12:11 -07:00
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. 2015-10-16 08:21:28 -07:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Add options to make includes 'static' 2016-03-24 10:12:51 -04:00
executor Fix the mapping of module_name to Locks 2016-04-29 20:47:51 -07:00
galaxy API now connects to server lazily (#15632) 2016-04-28 23:28:02 -04:00
inventory Apply inventory host restrictions by host name rather than UUID. 2016-05-05 22:32:58 +10:00
module_utils Add get_distribution_Archlinux (#15696) 2016-05-03 08:20:08 -07:00
modules Submodule updates to fix documentation 2016-05-03 10:12:02 -07:00
new_inventory fix some warning of undefined name. 2015-10-09 12:43:42 +08:00
parsing make vi the default editor if no EDITOR 2016-05-03 09:39:19 -04:00
playbook Treat "static: yes/no" with higher priority than "task_includes_static" in ansible.cfg 2016-05-03 12:15:13 +02:00
plugins actionable.py: Do not print next task banner in handler callback (#15698) 2016-05-03 11:25:46 -04:00
template moved last utils.debug to display.debug 2016-04-08 16:00:36 -04:00
utils Merge pull request #15618 from chouseknecht/docker_doc_frag 2016-04-29 01:27:57 -04:00
vars Fix var precedence bug introduced in ff9f5d7d 2016-04-19 12:40:31 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py add centrify dzdo escalation (#15219) 2016-04-25 11:24:26 -04:00
release.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00