completed libreoffice and heroic games launcher
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
# TODO: implement
|
||||
---
|
||||
- name: append to syspkgs
|
||||
debug:
|
||||
msg: "NOT IMPLEMENTED YET"
|
||||
- block:
|
||||
- ansible.builtin.include_tasks:
|
||||
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'
|
||||
|
||||
@@ -1,9 +1,27 @@
|
||||
# TODO: implement
|
||||
---
|
||||
- name: append to syspkgs
|
||||
debug:
|
||||
msg: "NOT IMPLEMENTED YET"
|
||||
when: ansible_os_family != 'Darwin'
|
||||
- ansible.bultin.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: 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
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
8
vars/libreoffice.yml
Normal file
8
vars/libreoffice.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
use_flatpak: false
|
||||
flatpak:
|
||||
- org.libreoffice.LibreOffice
|
||||
Debian:
|
||||
- libreoffice
|
||||
RedHat:
|
||||
- libreoffice
|
||||
@@ -40,6 +40,7 @@ pkgconfig:
|
||||
go: {}
|
||||
hashicorp: {}
|
||||
kitty: {}
|
||||
libreoffice: {}
|
||||
luals: {}
|
||||
jellyfin: {}
|
||||
ghostty: {}
|
||||
|
||||
Reference in New Issue
Block a user