add update tag system
This commit is contained in:
parent
4a3995ba29
commit
bc237e82af
6 changed files with 13 additions and 6 deletions
|
@ -3,16 +3,19 @@
|
|||
get_url:
|
||||
url: https://updates.signal.org/desktop/apt/keys.asc
|
||||
dest: /etc/apt/trusted.gpg.d/signal.asc
|
||||
tags: update
|
||||
- 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"
|
||||
register: apt_repository
|
||||
tags: update
|
||||
- name: Update APT cache
|
||||
become: true
|
||||
apt:
|
||||
update_cache: true
|
||||
when: apt_repository.changed
|
||||
tags: update
|
||||
- name: Install Signal
|
||||
become: true
|
||||
apt:
|
||||
|
|
Reference in a new issue