From 598c57d2b57e18d50f3623a058fea65029c1ef35 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sun, 1 Oct 2023 15:28:59 +0200 Subject: [PATCH] repoclosure_check_repos is a list, so let's pass it as one `loop` is picky when you pass a list of lists --- obal/data/playbooks/repoclosure/metadata.obal.yaml | 2 +- obal/data/roles/repoclosure/tasks/main.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/obal/data/playbooks/repoclosure/metadata.obal.yaml b/obal/data/playbooks/repoclosure/metadata.obal.yaml index f15e68ab..827c308a 100644 --- a/obal/data/playbooks/repoclosure/metadata.obal.yaml +++ b/obal/data/playbooks/repoclosure/metadata.obal.yaml @@ -5,7 +5,7 @@ help: | Repoclosure ensures that all dependencies are met and all packages are installable. variables: repoclosure_check_repos: - store: append + action: append parameter: --check help: Link to a repository to target for repoclosure repoclosure_target_dist: diff --git a/obal/data/roles/repoclosure/tasks/main.yml b/obal/data/roles/repoclosure/tasks/main.yml index 73eef3ea..98b7fc8e 100644 --- a/obal/data/roles/repoclosure/tasks/main.yml +++ b/obal/data/roles/repoclosure/tasks/main.yml @@ -21,8 +21,7 @@ - name: Run repoclosure for a target repo include_tasks: repoclosure.yml - loop: - - "{{ repoclosure_check_repos }}" + loop: "{{ repoclosure_check_repos }}" loop_control: loop_var: repo_url index_var: index