2023-08-26 21:57:26 +00:00
|
|
|
---
|
|
|
|
- become: yes
|
2023-10-25 21:59:18 +00:00
|
|
|
when: ansible_distribution == "Ubuntu"
|
2023-08-26 21:57:26 +00:00
|
|
|
block:
|
2024-05-11 10:55:24 +00:00
|
|
|
- name: "[Ubuntu] add signal gpg key"
|
2023-08-26 21:57:26 +00:00
|
|
|
apt_key:
|
|
|
|
url: https://updates.signal.org/desktop/apt/keys.asc
|
|
|
|
state: present
|
|
|
|
|
2024-05-11 10:55:24 +00:00
|
|
|
- name: "[Ubuntu] add signal repo"
|
2023-08-26 21:57:26 +00:00
|
|
|
apt_repository:
|
|
|
|
repo: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
|
|
|
|
state: present
|
|
|
|
filename: signal-xenial
|
|
|
|
|
2024-05-11 10:55:24 +00:00
|
|
|
- name: "[Ubuntu] install signal-desktop"
|
2023-08-26 21:57:26 +00:00
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
pkg:
|
2023-10-25 21:59:18 +00:00
|
|
|
- signal-desktop
|
|
|
|
|
2024-05-11 10:55:24 +00:00
|
|
|
- name: "[Arch] install signal-desktop"
|
2023-10-25 21:59:18 +00:00
|
|
|
when: ansible_distribution == "Archlinux"
|
|
|
|
become: yes
|
|
|
|
community.general.pacman:
|
|
|
|
update_cache: yes
|
|
|
|
name: signal-desktop
|