This commit is contained in:
Navas 2024-10-13 17:48:01 +02:00
parent 8d98ff27e7
commit c2129a059e
5 changed files with 19 additions and 13 deletions

View file

@ -63,6 +63,3 @@
- name: Installe Element - name: Installe Element
ansible.builtin.include_tasks: element.yml ansible.builtin.include_tasks: element.yml
- name: Installe Rustdesk
ansible.builtin.include_tasks: rustdesk.yml

View file

@ -1,8 +0,0 @@
- name: Télécharge Rustdesk
ansible.builtin.get_url:
url: "{{ rustdesk_baseurl }}/{{ rustdesk_package }}"
dest: /opt/
- name: Installe Rustdesk
ansible.builtin.apt:
deb: /opt/{{ rustdesk_package }}

View file

@ -1,2 +0,0 @@
rustdesk_baseurl: https://github.com/rustdesk/rustdesk/releases/download/1.3.1/
rustdesk_package: rustdesk-1.3.1-x86_64.deb

14
ansible/rustdesk.yml Normal file
View file

@ -0,0 +1,14 @@
- name: Installation de rustdesk
hosts: localhost
vars:
rustdesk_baseurl: https://github.com/rustdesk/rustdesk/releases/download/1.3.1/
rustdesk_package: rustdesk-1.3.1-x86_64.deb
tasks:
- name: Télécharge Rustdesk
ansible.builtin.get_url:
url: "{{ rustdesk_baseurl }}/{{ rustdesk_package }}"
dest: /opt/
- name: Installe Rustdesk
ansible.builtin.apt:
deb: /opt/{{ rustdesk_package }}

View file

@ -30,3 +30,8 @@ ansiblemenu:
menu_title: Supprime un administrateur menu_title: Supprime un administrateur
argument_help: Ne présente pas le menu et supprime un administrateur argument_help: Ne présente pas le menu et supprime un administrateur
playbook: supprime-sudoer.yml playbook: supprime-sudoer.yml
rustdesk:
menu_title: Installe Rustdesk
argument_help: Ne présente pas le menu et installe Rustdesk
playbook: rustdesk.yml