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:
Matthew Stobbs
2025-02-07 13:34:50 -07:00
parent 67a9b39abc
commit b2a8e41f3d
7 changed files with 114 additions and 5 deletions

View File

@@ -1,7 +1,13 @@
---
- name: append to pkgs
- ansible.builtin.include_vars:
file: bitwarden.yml
name: _bitwarden
- ansible.builtin.set_fact:
pkgconfig_bitwarden: "{{ _bitwarden | ansible.builtin.combine(pkgconfig.bitwarden) }}"
- name: append to srcpkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ 'bitwarden' ] }}"
syspkgs: "{{ srcpkgs + [ 'bitwarden' ] }}"
when: ansible_os_family != 'Darwin'
- name: append to caskpkgs

View File

@@ -1,5 +1,15 @@
# TODO: implement
---
- name: append to syspkgs
debug:
msg: "NOT IMPLEMENTED YET"
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: pkgconfig_flatpkak is undefined
- name: append to flatpkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'dbeaver' ] }}"
when: ansible_os_family != 'Darwin'
- name: append to caskpkgs
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'dbeaver-community' ] }}"
when: ansible_os_family == 'Darwin'

6
tasks/pkgs/flatpak.yml Normal file
View File

@@ -0,0 +1,6 @@
---
- name: append to syspkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ 'flatpak' ] }}"
pkgconfig_flatpak: {defined: true}
when: ansible_os_family != 'Darwin'