---
- name: Download hydrophone
  get_url:
    url: "https://github.com/kubernetes-sigs/hydrophone/releases/download/v{{ hydrophone_version }}/hydrophone_Linux_{{ hydrophone_arch }}.tar.gz"
    dest: /tmp/hydrophone.tar.gz
    checksum: "{{ hydrophone_checksum }}"
    mode: "0644"

- name: Extract hydrophone
  unarchive:
    src: /tmp/hydrophone.tar.gz
    dest: "{{ bin_dir }}"
    copy: false
