debian.ansible.element-desktop/element-desktop.yml

25 lines
726 B
YAML
Raw Permalink Normal View History

2024-10-29 14:13:25 +01:00
---
- name: element-desktop
hosts: all
tasks:
- name: Add signing key
ansible.builtin.shell: wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
args:
creates: /usr/share/keyrings/element-io-archive-keyring.gpg
- name: Add repository into list
ansible.builtin.apt_repository:
2024-10-29 14:21:45 +01:00
repo: "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main"
2024-10-29 14:13:25 +01:00
state: present
filename: element-io
- name: Package for element-desktop
apt:
name:
- element-desktop
update_cache: yes
install_recommends: no