From e4ffcff2b2df2ed7fe049409c99500f207eb187d Mon Sep 17 00:00:00 2001 From: olli <> Date: Tue, 29 Oct 2024 14:13:25 +0100 Subject: [PATCH] first commit --- README.md | 0 element-desktop.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 README.md create mode 100644 element-desktop.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/element-desktop.yml b/element-desktop.yml new file mode 100644 index 0000000..12359dc --- /dev/null +++ b/element-desktop.yml @@ -0,0 +1,24 @@ +--- + +- 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: + repo: "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] /etc/apt/sources.list.d/element-io.list" + state: present + filename: element-io + + - name: Package for element-desktop + apt: + name: + - element-desktop + update_cache: yes + install_recommends: no +