signal-desktop
This commit is contained in:
parent
e649f074d9
commit
00d087ab07
24
signal-desktop.yml
Normal file
24
signal-desktop.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
|
||||
- name: signal-desktop
|
||||
hosts: all
|
||||
tasks:
|
||||
|
||||
- name: Add signing key
|
||||
ansible.builtin.shell: curl -fsSL https://updates.signal.org/desktop/apt/keys.asc | lower }}/gpg | gpg --output "/usr/share/keyrings/signal-desktop-keyring.gpg" --dearmor
|
||||
args:
|
||||
creates: /usr/share/keyrings/signal-desktop-keyring.gpg
|
||||
|
||||
- name: Add repository into list
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb [arch={{ deb_architecture.stdout }} signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main"
|
||||
state: present
|
||||
filename: signal-desktop
|
||||
|
||||
- name: Package for signal-desktop
|
||||
apt:
|
||||
name:
|
||||
- signal-desktop
|
||||
update_cache: yes
|
||||
install_recommends: no
|
||||
|
Loading…
Reference in New Issue
Block a user