diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-05 20:58:26 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-05 20:58:26 +0100 |
commit | 4ce905ad00196a6ffb46d0d62128dbc0203d2e82 (patch) | |
tree | 45c49abf762c7258352ff3bace959782337b933b /chaos-at-home | |
parent | vm/deploy: create containing dir for primary disk image (diff) |
install some stuff on equinox-ws and t450s
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 }}'" |