This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/signal/tasks/main.yml
2022-12-02 20:10:38 +01:00

18 lines
523 B
YAML

- name: Get Signal APT key
become: true
get_url:
url: https://updates.signal.org/desktop/apt/keys.asc
dest: /etc/apt/trusted.gpg.d/signal.asc
- name: Install Signal APT repository
become: true
apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/signal.asc] https://updates.signal.org/desktop/apt xenial main"
state: present
- name: Install Signal
become: true
apt:
state: latest
update_cache: yes
cache_valid_time: 86400 # One day
pkg:
- signal-desktop