Update wownerod to v0.9.0.0

This commit is contained in:
Matt Smith 2020-09-23 16:40:06 +01:00
parent 3994d18259
commit b9c96659b5
No known key found for this signature in database
GPG key ID: 5162D20F840BDEF3
2 changed files with 16 additions and 7 deletions

View file

@ -1,11 +1,20 @@
---
- name: Download release binary
- name: Download release tarball
get_url:
url: "{{ wownerod_remote_url }}"
dest: "{{ wownerod_path }}"
checksum: "{{ wownerod_remote_hash }}"
url: "{{ wownero_remote_url }}"
dest: "/tmp/wownero-linux-v{{ wownero_version }}.tar.bz2"
checksum: "{{ wownero_remote_hash }}"
owner: root
group: root
mode: '0755'
- name: Extract wownerod
unarchive:
remote_src: yes
src: "/tmp/wownero-linux-v{{ wownero_version }}.tar.bz2"
dest: "{{ wownero_bin_dir }}"
extra_opts:
- "--strip-components=1"
- "--add-file"
- "wownero-linux-v{{ wownero_version }}/wownerod"
notify:
- restart wownerod