From 00d087ab07b852b0153556251564c680a73d5ffc Mon Sep 17 00:00:00 2001 From: olli <> Date: Tue, 29 Oct 2024 13:51:59 +0100 Subject: [PATCH] signal-desktop --- signal-desktop.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 signal-desktop.yml diff --git a/signal-desktop.yml b/signal-desktop.yml new file mode 100644 index 0000000..f6361b9 --- /dev/null +++ b/signal-desktop.yml @@ -0,0 +1,24 @@ +--- + +- name: signal-desktop + hosts: all + tasks: + + - name: Add signing key + ansible.builtin.shell: curl -fsSL https://updates.signal.org/desktop/apt/keys.asc | lower }}/gpg | gpg --output "/usr/share/keyrings/signal-desktop-keyring.gpg" --dearmor + args: + creates: /usr/share/keyrings/signal-desktop-keyring.gpg + + - name: Add repository into list + ansible.builtin.apt_repository: + repo: "deb [arch={{ deb_architecture.stdout }} signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main" + state: present + filename: signal-desktop + + - name: Package for signal-desktop + apt: + name: + - signal-desktop + update_cache: yes + install_recommends: no +