ansible/changelogs
Sloane Hertel 3e95e3c0a0
galaxy: Handle ignored directory names in role skeleton (#72035) (#73806)
* 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>
(cherry picked from commit eb72c36a71)

Co-authored-by: manas-init <70483021+manas-init@users.noreply.github.com>
2021-03-08 04:26:47 -06:00
..
fragments galaxy: Handle ignored directory names in role skeleton (#72035) (#73806) 2021-03-08 04:26:47 -06:00
CHANGELOG-v2.10.rst New release v2.10.6 2021-02-17 16:10:38 -06:00
CHANGELOG.rst
changelog.yaml New release v2.10.6 2021-02-17 16:10:38 -06:00
config.yaml Make changelog tool be more strict about suffixes (#70909) (#71135) 2020-08-21 09:33:08 -07:00