Skip to content

Commit 650897c

Browse files
committed
cruise_control: fix RHN download
1 parent b90018f commit 650897c

File tree

2 files changed

+3
-1
lines changed
  • roles

2 files changed

+3
-1
lines changed

roles/amq_streams_common/tasks/rhn/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
ansible.builtin.set_fact:
1919
rhn_product_archive_file_pattern: '^.*/amq-streams-[0-9.]*-bin.zip$'
2020
when:
21-
- not rhn_product_archive_file_pattern is defined or rhn_product_archive_file_pattern == ""
21+
- not rhn_product_archive_file_pattern is defined or rhn_product_archive_file_pattern | length < 1
2222

2323
- name: "Determine which archive to download using file pattern: {{ rhn_product_archive_file_pattern }}."
2424
ansible.builtin.set_fact:

roles/amq_streams_cruise_control/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
ansible.builtin.include_role:
1515
name: amq_streams_common
1616
tasks_from: rhn/main.yml
17+
vars:
18+
rhn_product_archive_file_pattern: "{{ amq_streams_cruise_control_rhn_product_archive_file_pattern }}"
1719

1820
- name: "Ensure Cruise Control artifacts is properly installed."
1921
ansible.builtin.include_role:

0 commit comments

Comments
 (0)