diff options
-rw-r--r-- | chaos-at-home/ch-equinox-ws.yml | 21 | ||||
-rw-r--r-- | inventory/host_vars/ch-equinox-t450s.yml | 1 | ||||
-rw-r--r-- | inventory/host_vars/ch-equinox-ws.yml | 2 |
3 files changed, 24 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 }}'" diff --git a/inventory/host_vars/ch-equinox-t450s.yml b/inventory/host_vars/ch-equinox-t450s.yml index ed0bea93..a5046af4 100644 --- a/inventory/host_vars/ch-equinox-t450s.yml +++ b/inventory/host_vars/ch-equinox-t450s.yml @@ -79,6 +79,7 @@ ws_base_extra_packages: - binwalk - bison - build-essential + - cargo - ccache - cheese - clang diff --git a/inventory/host_vars/ch-equinox-ws.yml b/inventory/host_vars/ch-equinox-ws.yml index fc45c4ef..6caa79b6 100644 --- a/inventory/host_vars/ch-equinox-ws.yml +++ b/inventory/host_vars/ch-equinox-ws.yml @@ -79,6 +79,7 @@ ws_base_extra_packages: - binwalk - bison - build-essential + - cargo - ccache - cheese - clang @@ -148,6 +149,7 @@ ws_base_extra_packages: - kpartx - libdbd-mysql-perl - libgpgme11 + - librust-openssl-dev - libusb-dev - libusb-1.0-0-dev - libvirt-clients |