# 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'] }}"