diff --git a/ansible/roles/base/tasks/main.yml b/ansible/roles/base/tasks/main.yml index fd63464..dad827f 100644 --- a/ansible/roles/base/tasks/main.yml +++ b/ansible/roles/base/tasks/main.yml @@ -61,5 +61,8 @@ notify: Update-grub -- name: Installe element +- name: Installe Element ansible.builtin.include_tasks: element.yml + +- name: Installe Rustdesk + ansible.builtin.include_tasks: rustdesk.yml diff --git a/ansible/roles/base/tasks/rustdesk.yml b/ansible/roles/base/tasks/rustdesk.yml new file mode 100644 index 0000000..1f6fede --- /dev/null +++ b/ansible/roles/base/tasks/rustdesk.yml @@ -0,0 +1,8 @@ +- 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 }} diff --git a/ansible/roles/base/vars/mint.yml b/ansible/roles/base/vars/Linux Mint.yml similarity index 100% rename from ansible/roles/base/vars/mint.yml rename to ansible/roles/base/vars/Linux Mint.yml diff --git a/ansible/roles/base/vars/main.yml b/ansible/roles/base/vars/main.yml new file mode 100644 index 0000000..fb547c7 --- /dev/null +++ b/ansible/roles/base/vars/main.yml @@ -0,0 +1,2 @@ +rustdesk_baseurl: https://github.com/rustdesk/rustdesk/releases/download/1.3.1/ +rustdesk_package: rustdesk-1.3.1-x86_64.deb