Files
ansible_role_package/tasks/pkgs/libreoffice.yml
2025-02-21 22:59:24 -07:00

21 lines
516 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Append to flatpkgs
when:
- libreoffice.method == 'flatpak'
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + 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'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['libreoffice'] }}"