Bug-fix release.
Changes
- Fix
load_inventory()dropping hosts declared with no host variables.ansible-inventory --listonly lists a host under_meta.hostvarsif it carries at least one variable, so enumerating hosts from_meta.hostvarskeys silently returned an empty host list for the common case of plain host declarations (hosts: {web1:, web2:}). Hosts are now derived from the union of each group's ownhostslist. Verified against realansible-core2.21.1.
Install
pip install rocannon