diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-equinox-ws.yml | 21 |
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 }}'" |