ansible/test
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
..
ansible_test
integration galaxy: Handle ignored directory names in role skeleton (#72035) (#73806) 2021-03-08 04:26:47 -06:00
lib/ansible_test ansible-test: yamllint, check the assigment (#73583) 2021-03-08 04:16:09 -06:00
sanity Backport of Split Ansible docs from core docs (#73616) (#73637) 2021-03-03 09:42:00 -06:00
support Various intentional tests (#72485) 2020-11-06 11:47:09 -06:00
units [ansible-test] attempt to work around podman (#72096) (#73569) 2021-03-08 04:12:38 -06:00
utils/shippable [stable-2.10] Azure Pipelines configuration. 2020-12-02 14:57:34 -08:00