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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user