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/inventory
Abhijeet Kasurde 9a86f8c10e
[2.10][InventoryManager] Fix two unhandled exceptions (#73798)
Change:
- Fix regression: unhandled exception when given inventory directory
  is empty or contains empty subdirectories.
- Fix unhandled exception when limit file is actually a directory
  instead of a file.
- Fix inventory tests which previously could never fail due to missing
  `set -e`. Fixed up tests that failed after `set -e` was added. Added
  several tests.

Test Plan:
- New tests
- Fixed existing tests which previously could never fail

Tickets:
- Fixes #73658

Signed-off-by: Rick Elrod <rick@elrod.me>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit fa046d302c)

Co-authored-by: Rick Elrod <rick@elrod.me>
5 years ago
..
__init__.py Transition inventory into plugins (#23001) 9 years ago
data.py return changed for group_by (#32057) 6 years ago
group.py [2.10] Pass the top level dictionaries to combine_vars (#72979) (#73146) 5 years ago
helpers.py add docstring for ansible.inventory.helpers.get_group_vars 7 years ago
host.py [2.10] Pass the top level dictionaries to combine_vars (#72979) (#73146) 5 years ago
manager.py [2.10][InventoryManager] Fix two unhandled exceptions (#73798) 5 years ago