mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-10-13 15:00
This commit is contained in:
@@ -5,17 +5,17 @@
|
||||
get_url:
|
||||
url: "{{ pg_exporter_archive_url }}"
|
||||
dest: "{{ pg_exporter_root_dir }}/tmp/"
|
||||
checksum: sha1:{{ pg_exporter_archive_sha1 }}
|
||||
checksum: sha256:{{ pg_exporter_archive_sha256 }}
|
||||
|
||||
- name: Extract pg_exporter
|
||||
unarchive:
|
||||
src: "{{ pg_exporter_root_dir }}/tmp/postgres_exporter_v{{ pg_exporter_version }}_linux-amd64.tar.gz"
|
||||
src: "{{ pg_exporter_root_dir }}/tmp/postgres_exporter-{{ pg_exporter_version }}.linux-amd64.tar.gz"
|
||||
dest: "{{ pg_exporter_root_dir }}/tmp/"
|
||||
remote_src: True
|
||||
|
||||
- name: Move the binary to its final location
|
||||
copy:
|
||||
src: "{{ pg_exporter_root_dir }}/tmp/postgres_exporter_v{{ pg_exporter_version }}_linux-amd64/postgres_exporter"
|
||||
src: "{{ pg_exporter_root_dir }}/tmp/postgres_exporter-{{ pg_exporter_version }}.linux-amd64/postgres_exporter"
|
||||
dest: "{{ pg_exporter_root_dir }}/app/"
|
||||
mode: '755'
|
||||
remote_src: True
|
||||
|
Reference in New Issue
Block a user