# vim: set filetype=yaml.ansible : --- - name: Append to pkg_Flatpak when: - ansible_system == 'Linux' - nextcloud.method == 'flatpak' notify: - Depend flatpak ansible.builtin.set_fact: pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}" - name: Append to pkg_sys when: - ansible_system == 'Linux' - nextcloud.method == 'sys' ansible.builtin.set_fact: pkg_sys: "{{ pkg_sys + ['nextcloud'] }}" - name: Append to pkg_cask when: - ansible_os_family == 'Darwin' ansible.builtin.set_fact: pkg_cask: "{{ pkg_cask + ['nextcloud'] }}"