completed libreoffice and heroic games launcher

This commit is contained in:
Matthew Stobbs
2025-02-07 14:47:07 -07:00
parent 762688a98c
commit 10a04681da
4 changed files with 46 additions and 9 deletions

View File

@@ -1,5 +1,15 @@
# TODO: implement
--- ---
- name: append to syspkgs - block:
debug: - ansible.builtin.include_tasks:
msg: "NOT IMPLEMENTED YET" file: pkgs/flatpak.yml
when: pkgconfig_flatpkak is undefined
- name: append to flatpkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'com.heroicgameslauncher.hgl' ] }}"
when:
- ansible_os_family != 'Darwin'
- name: append to caskpkgs
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'heroic' ] }}"
when: ansible_os_family == 'Darwin'

View File

@@ -1,9 +1,27 @@
# TODO: implement
--- ---
- name: append to syspkgs - ansible.bultin.include_vars:
debug: file: libreoffice.yml
msg: "NOT IMPLEMENTED YET" name: _libreoffice
when: ansible_os_family != 'Darwin' - ansible.builtin.set_fact:
pkgconfig_libreoffice: "{{ _libreoffice | ansible.builtin.combine(pkgconfig.libreoffice) }}"
- block:
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: pkgconfig_flatpkak is undefined
- name: append to flatpkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + pkgconfig_libreoffice.flatpak }}"
when:
- ansible_os_family != 'Darwin'
- pkgconfig_libreoffice.use_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 caskpkgs - name: append to caskpkgs
ansible.builtin.set_fact: ansible.builtin.set_fact:

8
vars/libreoffice.yml Normal file
View File

@@ -0,0 +1,8 @@
---
use_flatpak: false
flatpak:
- org.libreoffice.LibreOffice
Debian:
- libreoffice
RedHat:
- libreoffice

View File

@@ -40,6 +40,7 @@ pkgconfig:
go: {} go: {}
hashicorp: {} hashicorp: {}
kitty: {} kitty: {}
libreoffice: {}
luals: {} luals: {}
jellyfin: {} jellyfin: {}
ghostty: {} ghostty: {}