28 lines
652 B
YAML
28 lines
652 B
YAML
---
|
|
- become: yes
|
|
when: ansible_distribution == "Ubuntu"
|
|
block:
|
|
- name: add signal gpg key [Ubuntu[
|
|
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:
|
|
- signal-desktop
|
|
|
|
- name: install signal-desktop [Arch]
|
|
when: ansible_distribution == "Archlinux"
|
|
become: yes
|
|
community.general.pacman:
|
|
update_cache: yes
|
|
name: signal-desktop
|