Merge pull request 'fix rust' (#14) from feature/rust into master
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #14
This commit is contained in:
2023-10-31 11:58:55 +00:00

View File

@@ -126,12 +126,14 @@
tags:
- add_gtimelog_utils
- name: Get the latest RustDesk version tag
ansible.builtin.set_fact:
VER_TAG: "{{ lookup('url', 'https://api.github.com/repos/rustdesk/rustdesk/releases/latest') | from_json | json_query('tag_name') | regex_replace('\"', '')}}"
- name: Download RustDesk
ansible.builtin.get_url:
url: "https://github.com/rustdesk/rustdesk/releases/download/{{ VER_TAG }}/rustdesk-{{ VER_TAG }}-x86_64.deb"
dest: /tmp/rustdesk-{{ VER_TAG }}-x86_64.deb
vars:
VER_TAG: "{{ lookup('url', 'https://api.github.com/repos/rustdesk/rustdesk/releases/latest') | from_json | json_query('tag_name') | regex_replace('\"', '')}}"
- name: Install RustDesk
become: true