Skip to content

Commit

Permalink
include repoclosure_target_repos when running repoclosure
Browse files Browse the repository at this point in the history
otherwise we do not conside the repo we build into for closure, which
can have funny results
  • Loading branch information
evgeni authored and ekohl committed Jan 2, 2024
1 parent e2b3a2c commit 2a4f24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obal/data/roles/repoclosure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
loop_var: repo_url
index_var: index
vars:
check_repos: "{{ 'repo' + index|string }}"
check_repos: "{{ ['repo' + index|string] + repoclosure_target_repos[repoclosure_target_dist]|default([]) }}"
lookaside_repos: "{{ repoclosure_lookaside_repos[repoclosure_target_dist] }}"
additional_repos: "{{ [{'name': 'repo' + index|string, 'url': repo_url}] }}"
when:
Expand Down

0 comments on commit 2a4f24c

Please sign in to comment.