more package fixes

This commit is contained in:
Matthew Stobbs
2025-02-21 22:59:24 -07:00
parent 4b995a3c07
commit 852fe8eb7d
71 changed files with 403 additions and 440 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 flatpkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'com.heroicgameslauncher.hgl' ] }}"
- name: Append to pkg_flatpak
when:
- ansible_os_family != 'Darwin'
- name: append to caskpkgs
- ansible_system == 'Linux'
notify:
- Depend flatpak
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'heroic' ] }}"
when: ansible_os_family == 'Darwin'
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"
- name: Append to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['heroic'] }}"