20 lines
669 B
YAML
20 lines
669 B
YAML
|
|
||
|
- name: Installe repo element
|
||
|
ansible.builtin.shell: |
|
||
|
apt install -y wget apt-transport-https
|
||
|
wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
|
||
|
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list
|
||
|
args:
|
||
|
creates: /etc/apt/sources.list.d/element-io.list
|
||
|
register: _repo
|
||
|
|
||
|
- name: Update cache
|
||
|
ansible.builtin.apt:
|
||
|
update-cache: true
|
||
|
when: _repo.changed
|
||
|
|
||
|
- name: Installe element-desktop
|
||
|
ansible.builtin.apt:
|
||
|
name:
|
||
|
- element-desktop
|