ansible-remote-node/roles/wownerod/tasks/install.yaml

19 lines
492 B
YAML
Raw Normal View History

2020-08-04 23:23:26 +01:00
---
2020-09-23 16:40:06 +01:00
- name: Download release tarball
2020-08-04 23:23:26 +01:00
get_url:
2020-09-23 16:40:06 +01:00
url: "{{ wownero_remote_url }}"
2021-09-03 06:16:39 +01:00
dest: "/tmp/wownero-x86_64-linux-gnu-v{{ wownero_version }}.tar.bz2"
2020-09-23 16:40:06 +01:00
checksum: "{{ wownero_remote_hash }}"
2020-08-04 23:23:26 +01:00
owner: root
group: root
mode: '0755'
2020-09-23 16:40:06 +01:00
- name: Extract wownerod
unarchive:
remote_src: yes
2021-09-03 06:16:39 +01:00
src: "/tmp/wownero-x86_64-linux-gnu-v{{ wownero_version }}.tar.bz2"
2020-09-23 16:40:06 +01:00
dest: "{{ wownero_bin_dir }}"
extra_opts:
- "--strip-components=1"
2020-08-04 23:23:26 +01:00
notify:
- restart wownerod