Skip to content

Commit

Permalink
repoclosure_check_repos is a list, so let's pass it as one
Browse files Browse the repository at this point in the history
`loop` is picky when you pass a list of lists
  • Loading branch information
evgeni committed Oct 1, 2023
1 parent 13797bc commit 598c57d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion obal/data/playbooks/repoclosure/metadata.obal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions obal/data/roles/repoclosure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 598c57d

Please sign in to comment.