fix remaining packages to new format

- still needs testing
This commit is contained in:
Matthew Stobbs
2025-02-22 10:51:53 -07:00
parent 852fe8eb7d
commit 2d825d855d
33 changed files with 200 additions and 221 deletions

View File

@@ -1,16 +1,15 @@
# vim: set filetype=yaml.ansible :
---
- block:
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: flatpak is undefined
- name: Append to pkg_flatpak
when:
- ansible_system == 'Linux'
notify:
- Depend flatpak
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [pkgconfig.pgadmin.flatpak] }}"
- name: append to syspkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'org.pgadmin.pgadmin4'] }}"
when: ansible_os_family != 'Darwin'
- name: append to caskpkgs
set_fact:
caskpkgs: "{{ caskpkgs + [ 'pgadmin4' ] }}"
when: ansible_os_family == 'Darwin'
- name: Append to pkg_cask
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['pgadmin4'] }}"