- Add special variable
extra_groups
which allows to add extra groups to hosts instead of overrideing likegroups
does - Add option
enable_level_groups
which automatically adds a group for each inventory level
- Add error if special
groups
variable is not a list
- Add option
enable_allhostnames
which adds special group to inventory containing all ansible_hosts found in inventory
- Fix yaml file extension check not working as intendet if file had no extension or more then one extension
- Rename option
EXCLUDE_LAST_GROUP_IN_NAME
toexclude_last_group_in_name
- Moved config from
yaml_folder.yml
toansible.cfg
- Allow both
.yml
and.yaml
file ending
- Little code cleanups
- Allow main.yml file to be a yaml list
- Allow yaml_folder.yml to act as a config
- Allow removing last folder name from instance name
- Wrong type error causes crash because of wrong function name
- Ansible Galaxy import of 1.2.3 failed and I'm not able to upload same version again. So I have to change the version number.
- Improved Ansible downwards compatibility by removing import which first worked with Ansible 2.8
- Added e2e tests to the repo
- Added logging
- Fix #28 recursive variable collection not working correctly
- Updated example in repo
- Fix pylint errors
- Split bigger methods into smaller methods
Even tho changes here are bugfixes they change the behaviro therefore bigger version bump. In general lots of fixes to wrong variable precedence.
- Update README
- Sanitize internal tree level group names
- Don't try parsing non .yml files
- Fix IndexError when defining group_vars yaml file on top level
- Fix lower level group_vars do override variables of levels above
- Fix vars.yml vars not cleaned when going back up in tree therefore also affecting diffrent tree branches
- Added recurse level groups to fix group vars applied to every branch in tree instead of only it's own branch (Issue #1)
- Rename inventory plugin from
manuelraa.inventory.yaml_folder
tomanuelraa.yaml_folder.yaml_folder
- Add type hints and basic docstrings
- Removed debug print from plugin
- Fix empty host vars in
main.yml
causes error because parsed as None
- Initial release