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,7 +1,7 @@
--- ---
wownerod_remote_url: "https://distfiles.offtopica.uk/wownerod-0.8.0.2" wownero_remote_url: 'https://git.wownero.com/attachments/46245bde-cd00-4cf8-983a-bf21f3e574e3'
wownerod_remote_hash: "sha256:ac7bba8924d43dfc9e9cf868737ebebc68591fdc17273cd0b3b9216e959fb0bc" wownero_remote_hash: 'sha256:40724396be555ad0d08a4263d83ec6e4dbfbb6d29116c40773eaf681a6faa215'
wownero_version: "0.8.0.2" wownero_version: "0.9.0.0"
wownero_bin_dir: "/usr/local/bin" wownero_bin_dir: "/usr/local/bin"
wownerod_path: "{{ wownero_bin_dir }}/wownerod" wownerod_path: "{{ wownero_bin_dir }}/wownerod"
wownerod_p2p_port: "34567" wownerod_p2p_port: "34567"

View file

@ -1,11 +1,20 @@
--- ---
- name: Download release binary - name: Download release tarball
get_url: get_url:
url: "{{ wownerod_remote_url }}" url: "{{ wownero_remote_url }}"
dest: "{{ wownerod_path }}" dest: "/tmp/wownero-linux-v{{ wownero_version }}.tar.bz2"
checksum: "{{ wownerod_remote_hash }}" checksum: "{{ wownero_remote_hash }}"
owner: root owner: root
group: root group: root
mode: '0755' 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: notify:
- restart wownerod - restart wownerod