ansible-collection-k8s icon indicating copy to clipboard operation
ansible-collection-k8s copied to clipboard

Packaged collection has git related files

Open anshulbehl opened this issue 5 years ago • 1 comments

roles/k8s_manifests/.git

Files like above should not be packaged in the collection, having that file breaks git status and other commands, and prevents ansible-test from working when that collection is installed.

anshulbehl avatar Apr 07 '20 02:04 anshulbehl

It looks like the issue is that those .git files are used to track the git submodules that I use in this collection and https://github.com/geerlingguy/ansible-collection-php_roles, since I maintain the roles downstream and package them up in these collections.

I've asked in the linked issue whether this is something that would be able to be ignored in 2.9.x, or if it requires running ansible from devel to build the collection without the .git files...

geerlingguy avatar Apr 07 '20 20:04 geerlingguy