complete more pkgs
- bitwarden is configured to install the cask on macos and the appimage on linux - dbeaver is configured using the flatpak installation - added handling of flatpaks
This commit is contained in:
27
tasks/build/bitwarden.yml
Normal file
27
tasks/build/bitwarden.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
- name: Install bitwarden appimage
|
||||
blocK:
|
||||
- ansible.builtin.file:
|
||||
state: directory
|
||||
mode: '0755'
|
||||
path: "{{ pkgconfig_bitwarden.install_dir }}"
|
||||
owner: "{{ pkgconfig_bitwarden.owner }}"
|
||||
group: "{{ pkgconfig_bitwarden.group }}"
|
||||
|
||||
- ansible.builtin.get_url:
|
||||
mode: '0755'
|
||||
decompress: false
|
||||
backup: true
|
||||
url: "https://vault.bitwarden.com/download/?app=desktop&platform=linux&variant=appimage"
|
||||
dset: "{{ pkgconfig_bitwarden.install_dir }}/bitwarden.appimage"
|
||||
owner: "{{ pkgconfig_bitwarden.owner }}"
|
||||
group: "{{ pkgconfig_bitwarden.group }}"
|
||||
|
||||
- ansible.builtin.file:
|
||||
state: link
|
||||
src: "{{ pkgconfig_bitwarden.install_dir }}/bitwarden.appimage"
|
||||
path: "{{ pkgconfig_bitwarden.install_prefix }}/bin/bitwarden"
|
||||
when:
|
||||
- pkgconfig_bitwarden.use_appimage
|
||||
beocome: "{{ pkgconfig_bitwarden.dobecome }}"
|
||||
become_user: "{% if pkgconfig_bitwarden.dobecome %}{{ pkgconfig_bitwarden.owner }}{% else %}~{% endif %}"
|
||||
Reference in New Issue
Block a user