Do be missing some quotes
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
- name: Download and verify the prometheus archive
|
||||
get_url:
|
||||
url: https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/prometheus-{{ prometheus_version }}.linux-amd64.tar.gz
|
||||
dest: /tmp/prometheus-{{ prometheus_version }}.linux-amd64.tar.gz
|
||||
url: "https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/prometheus-{{ prometheus_version }}.linux-amd64.tar.gz"
|
||||
dest: "/tmp/prometheus-{{ prometheus_version }}.linux-amd64.tar.gz"
|
||||
checksum: "sha256:{{ prometheus_sha256 }}"
|
||||
register: download_result
|
||||
|
||||
- name: Unarchive prometheus binary
|
||||
unarchive:
|
||||
src: {{ download_result.dest }}
|
||||
src: "{{ download_result.dest }}"
|
||||
dest: /usr/local/bin/prometheus
|
||||
remote_src: true # Indicates the source file is on the remote host
|
||||
owner: root
|
||||
|
||||
Reference in New Issue
Block a user