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