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

23 lines
592 B
YAML
Raw Normal View History

2022-12-02 19:10:38 +00:00
- 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
2023-02-20 20:49:55 +00:00
tags: update
2022-12-02 19:10:38 +00:00
- 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"
2022-12-20 16:20:36 +00:00
register: apt_repository
2023-02-20 20:49:55 +00:00
tags: update
2022-12-20 16:20:36 +00:00
- name: Update APT cache
2022-12-20 17:31:17 +00:00
become: true
2022-12-20 16:20:36 +00:00
apt:
update_cache: true
when: apt_repository.changed
2023-02-20 20:49:55 +00:00
tags: update
2022-12-02 19:10:38 +00:00
- name: Install Signal
become: true
apt:
2022-12-19 22:27:26 +00:00
name: signal-desktop