fix packages

This commit is contained in:
Matthew Stobbs
2025-02-22 14:59:18 -07:00
parent 2d825d855d
commit d1e8957f94
47 changed files with 166 additions and 129 deletions

View File

@@ -1,20 +1,19 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to flatpkgs
- name: Append to pkg_flatpak
when:
- libreoffice.method == 'flatpak'
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + libreoffice.flatpak }}"
pkg_flatpak: "{{ pkg_flatpak + libreoffice.flatpak }}"
- name: Append to pkg_sys
when:
- libreoffice.method == 'sys'
- ansible_system == 'Linux'
ansible.builtin.set_fact:
sys_pkg: "{{ sys_pkg + libreoffice.pkgs }}"
- name: Append to caskpkgs
when:
- ansible_system == 'Darwin'
- libreoffice.method == 'cask'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['libreoffice'] }}"
pkg_cask: "{{ pkg_cask + libreoffice.pkgs }}"