Skip to content

Commit

Permalink
cruise_control: fix RHN download
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Jan 18, 2024
1 parent b90018f commit 650897c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/amq_streams_common/tasks/rhn/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ansible.builtin.set_fact:
rhn_product_archive_file_pattern: '^.*/amq-streams-[0-9.]*-bin.zip$'
when:
- not rhn_product_archive_file_pattern is defined or rhn_product_archive_file_pattern == ""
- not rhn_product_archive_file_pattern is defined or rhn_product_archive_file_pattern | length < 1

- name: "Determine which archive to download using file pattern: {{ rhn_product_archive_file_pattern }}."
ansible.builtin.set_fact:
Expand Down
2 changes: 2 additions & 0 deletions roles/amq_streams_cruise_control/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
ansible.builtin.include_role:
name: amq_streams_common
tasks_from: rhn/main.yml
vars:
rhn_product_archive_file_pattern: "{{ amq_streams_cruise_control_rhn_product_archive_file_pattern }}"

- name: "Ensure Cruise Control artifacts is properly installed."
ansible.builtin.include_role:
Expand Down

0 comments on commit 650897c

Please sign in to comment.