2024-10-29 13:51:59 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: signal-desktop
|
|
|
|
hosts: all
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
- name: Add signing key
|
2024-10-29 13:56:04 +01:00
|
|
|
ansible.builtin.shell: curl -fsSL https://updates.signal.org/desktop/apt/keys.asc | gpg --output "/usr/share/keyrings/signal-desktop-keyring.gpg" --dearmor
|
2024-10-29 13:51:59 +01:00
|
|
|
args:
|
|
|
|
creates: /usr/share/keyrings/signal-desktop-keyring.gpg
|
|
|
|
|
|
|
|
- name: Add repository into list
|
|
|
|
ansible.builtin.apt_repository:
|
2024-10-29 14:09:09 +01:00
|
|
|
repo: "deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main"
|
2024-10-29 13:51:59 +01:00
|
|
|
state: present
|
|
|
|
filename: signal-desktop
|
|
|
|
|
|
|
|
- name: Package for signal-desktop
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- signal-desktop
|
|
|
|
update_cache: yes
|
|
|
|
install_recommends: no
|
|
|
|
|