Closed dschier-wtd closed 6 years ago
Bug / Workaround
Due to a bug in ansible-galaxy, the .git directory is existing after ansible-galaxy init. This can be worked around with configure options in ansible.cfg
.git
ansible-galaxy init
ansible.cfg
http://docs.ansible.com/ansible/latest/galaxy.html#using-a-custom-role-skeleton
[galaxy] role_skeleton = /path/to/skeleton role_skeleton_ignore = ^.git$,^.*/.git_keep$
Unfortunately, this is not documented.
README.md
Documentation should be fixed to have .git, .git-keep, README.md excluded via ansible.cfg or .ansible.cfg.
.git, .git-keep, README.md
.ansible.cfg
Type of Report
Bug / Workaround
Actual behaviour
Due to a bug in ansible-galaxy, the
.git
directory is existing afteransible-galaxy init
. This can be worked around with configure options inansible.cfg
http://docs.ansible.com/ansible/latest/galaxy.html#using-a-custom-role-skeleton
Unfortunately, this is not documented.
README.md
this way, to exclude it.Expected behaviour
Documentation should be fixed to have
.git, .git-keep, README.md
excluded viaansible.cfg
or.ansible.cfg
.