more packages fixed

- removed nushell. Not using it, not going to use again anytime soon
This commit is contained in:
Matthew Stobbs
2025-02-20 12:22:50 -07:00
parent 48e67be99b
commit c0400949c3
34 changed files with 132 additions and 206 deletions

View File

@@ -1,30 +1,23 @@
# vim: set filetype=yaml.ansible :
---
- ansible.builtin.include_vars:
file: libreoffice.yml
name: _libreoffice
- ansible.builtin.set_fact:
pkgconfig_libreoffice: "{{ _libreoffice | ansible.builtin.combine(pkgconfig.libreoffice) }}"
- block:
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: flatpak is undefined
- name: append to flatpkgs
- name: Linux specific methods
when:
- ansible_system == 'Linux'
block:
- name: Append to flatpkgs
when:
- libreoffice.method == 'flatpak'
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + pkgconfig_libreoffice.flatpak }}"
when:
- ansible_os_family != 'Darwin'
- pkgconfig_libreoffice.use_flatpak
flatpkgs: "{{ flatpkgs + libreoffice.flatpak }}"
- block:
- ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + pkgconfig_libreoffice[ansible_os_family] }}"
when:
- ansible_os_family != 'Darwin'
- not pkgconfig_libreoffice.use_flatpak
- name: Append to pkg_sys
when:
- libreoffice.method == 'sys'
ansible.builtin.set_fact:
sys_pkg: "{{ sys_pkg + libreoffice.syspkgs }}"
- name: append to caskpkgs
- name: Append to caskpkgs
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'libreoffice' ] }}"
when: ansible_os_family == 'Darwin'
pkg_cask: "{{ pkg_cask + ['libreoffice'] }}"