Skip to content

Commit

Permalink
[repo_setup] Use a role scoped copy of url_request
Browse files Browse the repository at this point in the history
Since the role seems to be used from zuul without a nested playbook this
role needs to have all of its dependencies self contained and not
depending on global modules. To avoid copy/pasting the content of the
module a symlink is used.
This change is required for zuul to call this role from its executor.
  • Loading branch information
pablintino committed Jan 14, 2025
1 parent 5852999 commit bb6ae8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/repo_setup/library/url_request.py
2 changes: 1 addition & 1 deletion roles/repo_setup/tasks/rhos_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
mode: "0755"

- name: Download the RPM
cifmw.general.url_request:
url_request:
url: "{{ cifmw_repo_setup_rhos_release_rpm }}"
dest: "{{ cifmw_repo_setup_rhos_release_path }}/rhos-release.rpm"
mode: "0644"
Expand Down

0 comments on commit bb6ae8e

Please sign in to comment.