ansible/changelogs/fragments/71977-ansible-galaxy-role-init.yml
manas-init eb72c36a71
galaxy: Handle ignored directory names in role skeleton (#72035)
* galaxy: restore left hand slicing in assignment

Fix 'ansible-galaxy role init --role-skeleton=role-skeleton' when the role skeleton
contains an ignored directory.

The issue was because the 'dirs' variable was changed to reference a different list,
but needs to be mutated instead to stop os.walk from traversing ignored directories.

Fixes: #71977

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-02-24 18:52:24 -05:00

2 lines
113 B
YAML

bugfixes:
- "ansible-galaxy - fixed galaxy role init command (https://github.com/ansible/ansible/issues/71977)."