From 2a4f24cf458a72375feb5792a56284ad7b8408ab Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 21 Dec 2023 09:33:12 +0100 Subject: [PATCH] include repoclosure_target_repos when running repoclosure otherwise we do not conside the repo we build into for closure, which can have funny results --- obal/data/roles/repoclosure/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obal/data/roles/repoclosure/tasks/main.yml b/obal/data/roles/repoclosure/tasks/main.yml index 98b7fc8e..21dfa54b 100644 --- a/obal/data/roles/repoclosure/tasks/main.yml +++ b/obal/data/roles/repoclosure/tasks/main.yml @@ -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: