summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-equinox-ws.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-05 20:58:26 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-05 20:58:26 +0100
commit4ce905ad00196a6ffb46d0d62128dbc0203d2e82 (patch)
tree45c49abf762c7258352ff3bace959782337b933b /chaos-at-home/ch-equinox-ws.yml
parentvm/deploy: create containing dir for primary disk image (diff)
install some stuff on equinox-ws and t450s
Diffstat (limited to 'chaos-at-home/ch-equinox-ws.yml')
-rw-r--r--chaos-at-home/ch-equinox-ws.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/chaos-at-home/ch-equinox-ws.yml b/chaos-at-home/ch-equinox-ws.yml
index 37f6fe09..0b1ca3c1 100644
--- a/chaos-at-home/ch-equinox-ws.yml
+++ b/chaos-at-home/ch-equinox-ws.yml
@@ -67,3 +67,24 @@
name: flathub
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
state: present
+
+ - name: install gotify-desktop
+ become: yes
+ become_method: su
+ become_user: "equinox"
+ block:
+ - name: get list of installed cargo crates
+ check_mode: no
+ command: "cargo install --list"
+ changed_when: false
+ register: installed_cargo_crates
+
+ - name: build
+ loop:
+ - name: gotify-desktop
+ version: 1.2.0
+ url: https://github.com/desbma/gotify-desktop.git
+ loop_control:
+ label: "{{ item.name }} ({{ item.version }})"
+ when: (item.name+' v'+ item.version) not in installed_cargo_crates.stdout
+ command: "cargo install --git '{{ item.url }}' --tag '{{ item.version }}'"