ansible-desktop/roles/desktop/tasks/signal.yml

28 lines
652 B
YAML
Raw Normal View History

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