Open hhenkel opened 4 days ago
@hhenkel are you running this from release_collection.py
, or are you running lsr_role2collection.py
directly? In either case, please provide the full command line. Just a guess, but I think we need to exclude copying .git/
directory contents when processing the extras
.
I don't think this is related to your problem, but --src-owner linux-system-roles
doesn't seem right to me - src_owner
is used in converting the roles files e.g.
...
- name: Use the role
include_role:
name: linux-system-roles.somerole
src_owner
is used to find and replace the linux-system-roles
string with the FQCN. Are you using linux-system-roles.usergroups
in your code?
As I'm currently trying to adapt your tooling to release our internal roles as a collection I'm facing an issue, if I have two or more repositories that have to be checked out from github. Within the
release_colelction.py
thelsr_role2collection.py
gets executed with the--src-path
argument set to the tmp folder. The issue here is, that when you have multiple remote repositories, all of the repositories are checked out to the tmp folder and thelsr_role2collection.py
picks up the wrong role.