ansible-remote-node/roles/wownerod/tasks/install.yaml
2021-07-04 03:41:52 +02:00

18 lines
468 B
YAML

---
- name: Download release tarball
get_url:
url: "{{ wownero_remote_url }}"
dest: "/tmp/wownero-linux-v{{ wownero_version }}.tar.xz"
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.xz"
dest: "{{ wownero_bin_dir }}"
extra_opts:
- "--strip-components=1"
notify:
- restart wownerod