Merge signal into desktop role

This commit is contained in:
Przemek Grondek 2023-10-25 23:59:18 +02:00
parent 426bc57391
commit 125fd4768e
5 changed files with 11 additions and 14 deletions

View File

@ -5,7 +5,6 @@
- ubuntu - ubuntu
- ubuntu-java - ubuntu-java
- ubuntu-firefox - ubuntu-firefox
- signal
- dotfiles - dotfiles
- prusa-slicer - prusa-slicer
- dev-java - dev-java

View File

@ -6,5 +6,6 @@
when: ansible_distribution == "Archlinux" when: ansible_distribution == "Archlinux"
- import_tasks: dotfiles.yml - import_tasks: dotfiles.yml
- import_tasks: signal.yml
#- import_tasks: timekpr.yml #- import_tasks: timekpr.yml

View File

@ -1,7 +1,8 @@
--- ---
- become: yes - become: yes
when: ansible_distribution == "Ubuntu"
block: block:
- name: add signal gpg key - name: add signal gpg key [Ubuntu[
apt_key: apt_key:
url: https://updates.signal.org/desktop/apt/keys.asc url: https://updates.signal.org/desktop/apt/keys.asc
state: present state: present
@ -16,4 +17,11 @@
apt: apt:
update_cache: yes update_cache: yes
pkg: pkg:
- signal-desktop - signal-desktop
- name: install signal-desktop [Arch]
when: ansible_distribution == "Archlinux"
become: yes
community.general.pacman:
update_cache: yes
name: signal-desktop

View File

@ -1,5 +0,0 @@
- name: install signal-desktop
become: yes
community.general.pacman:
update_cache: yes
name: signal-desktop

View File

@ -1,6 +0,0 @@
---
- import_tasks: ubuntu.yml
when: ansible_distribution == "Ubuntu"
- import_tasks: arch.yml
when: ansible_distribution == "Archlinux"