983 Bytes hinzugefügt
, Gestern um 20:24
[https://rustdesk.com/ RustDesk] ist eine Open Source - Alternative zu TeamViewer.
== Ansible Role ==
Die Installation von rustdesk kann mit folgender ansible role gelingen.
Datei roles/rustdesk/defaults/main.yaml
repo_name: rustdesk
github_user: rustdesk
releases_url: "https://api.github.com/repos/{{github_user}}/{{repo_name}}/releases/latest"
pkg_regex: "{{repo_name}}-.+-x86_64.deb"
Datei roles/rustdesk/tasks/main.yaml
- name: "check latest release of {{github_user}}/{{repo_name}}"
ansible.builtin.uri:
url: "{{releases_url}}"
register: latest_release
- debug:
var: latest_release
- name: "get download url"
set_fact:
deb_url: "{{ (latest_release.json.assets | selectattr('name','search', pkg_regex)|first ).browser_download_url }}"
- debug:
var: deb_url
- name: Install the {{repo_name}} deb package
become: true
ansible.builtin.apt:
deb: "{{ deb_url }}"
-------
[[Category:Remote Desktop]]