community.general/lib/ansible/inventory
Monty Taylor c5b303fa52 Test host in inventory by name in remove_host (#45639)
The host argument is a Host object, and is used as such by
group.remove_host. However, self.hosts is a dictionary of host name to
Host object. Thus, the existing code is checking to see if the Host
object is one of the keys.

Use host.name to interact with the keys of the dictionary.
2018-11-06 08:19:58 -05:00
..
__init__.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
data.py Test host in inventory by name in remove_host (#45639) 2018-11-06 08:19:58 -05:00
group.py Reduce recursion within group methods 2018-04-05 18:38:44 -04:00
helpers.py add docstring for ansible.inventory.helpers.get_group_vars 2018-09-14 16:02:45 -04:00
host.py Reduce recursion within group methods 2018-04-05 18:38:44 -04:00
manager.py better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00