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,17 +1,23 @@
# vim: set filetype=yaml.ansible :
---
- name: append to flatpkgs
block:
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: flatpak is undefined
- ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'com.nextcloud.desktopclient.nextcloud' ] }}"
- name: Append to pkg_Flatpak
when:
- ansible_os_family != 'Darwin'
- name: append to caskpkgs
- ansible_system == 'Linux'
- nextcloud.method == 'flatpak'
notify:
- Depend flatpak
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'nextcloud' ] }}"
when: ansible_os_family == 'Darwin'
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"
- name: Append to pkg_sys
when:
- ansible_system == 'Linux'
- nextcloud.method == 'sys'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['nextcloud'] }}"
- name: Append to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['nextcloud'] }}"