From d998b1010fbf7e9b0c4dff717ef4ddf7acbb3756 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 6 May 2023 12:01:49 -0700 Subject: [PATCH] adding matrix support --- matrix/tasks/main.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 matrix/tasks/main.yaml diff --git a/matrix/tasks/main.yaml b/matrix/tasks/main.yaml new file mode 100644 index 0000000..1e60271 --- /dev/null +++ b/matrix/tasks/main.yaml @@ -0,0 +1,27 @@ +- name: add element repo key + when: not headless + become: true + ansible.builtin.apt_key: + url: https://packages.element.io/debian/element-io-archive-keyring.gpg + state: present + validate_certs: yes + +- name: add element repo + when: not headless + become: true + ansible.builtin.apt_repository: + repo: deb [arch=amd64] https://packages.element.io/debian/ default main + state: present + validate_certs: yes + +- name: install element desktop + when: not headless + become: true + ansible.builtin.apt: name=element-desktop state=present + +- name: install gomuks dependencies + become: true + ansible.builtin.apt: name={{item}} state=present + with_items: + - libolm-dev +