sijie commented on a change in pull request #7668: URL: https://github.com/apache/pulsar/pull/7668#discussion_r462400610
########## File path: deployment/terraform-ansible/deploy-pulsar.yaml ########## @@ -28,20 +28,21 @@ state: directory with_items: ["/opt/pulsar"] - name: Install RPM packages - yum: pkg={{ item }} state=latest - with_items: - - wget - - java - - sysstat - - vim + yum: + state: latest + name: + - wget + - java + - sysstat + - vim - set_fact: - zookeeper_servers: "{{ groups['zookeeper']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|map('regex_replace', '(.*)', '\\1:2181') | join(',') }}" - service_url: "pulsar://{{ hostvars[groups['proxy'][0]].public_ip }}:6650/" - http_url: "http://{{ hostvars[groups['proxy'][0]].public_ip }}:8080/" - pulsar_version: "2.1.0-incubating" + zookeeper_servers: "{{ groups['zookeeper']|map('extract', hostvars, ['ansible_default_ipv4', 'address'])|map('regex_replace', '^(.*)$', '\\1:2181') | join(',') }}" + service_url: "{{ pulsar_service_url }}" + http_url: "{{ pulsar_web_url }}" + pulsar_version: "2.6.0" - name: Download Pulsar binary package unarchive: - src: http://archive.apache.org/dist/incubator/pulsar/pulsar-{{ pulsar_version }}/apache-pulsar-{{ pulsar_version }}-bin.tar.gz + src: https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-{{ pulsar_version }}/apache-pulsar-{{ pulsar_version }}-bin.tar.gz Review comment: This only works for the latest version. It doesn't work for old versions. Did you encounter any troubles using the archive path? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org