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

@@ -22,6 +22,30 @@
become: true
when:
- syspkgs|length > 0
- name: add flatpak repos
community.general.flatpak_remote:
enabled: true
flatpakrepo_url: "{{ repo.url }}"
method: system
name: "{{ repo.name }}"
state: present
loop: "{{ flatpkg_repo }}"
loop_control:
loop_var: repo
become: true
when:
- flatpkg_repo|length > 0
- flatpkgs|length > 0
- name: install flatpaks
community.general.flatpak:
method: "system"
name: "{{ flatpkgs }}"
state: latest
become: true
when:
- flatpkgs|length > 0
when: ansible_os_family == 'RedHat'
- name: debian based OS
@@ -40,6 +64,30 @@
become: true
when:
- syspkgs|length > 0
- name: add flatpak repos
community.general.flatpak_remote:
enabled: true
flatpakrepo_url: "{{ repo.url }}"
method: system
name: "{{ repo.name }}"
state: present
loop: "{{ flatpkg_repo }}"
loop_control:
loop_var: repo
become: true
when:
- flatpkg_repo|length > 0
- flatpkgs|length > 0
- name: install flatpaks
community.general.flatpak:
method: "system"
name: "{{ flatpkgs }}"
state: latest
become: true
when:
- flatpkgs|length > 0
when: ansible_os_family == 'Debian'
- name: darwin/macOS based OS