more package fixes
This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: append to flatpkgs
|
||||
block:
|
||||
- ansible.builtin.include_tasks:
|
||||
file: pkgs/flatpak.yml
|
||||
when: flatpak is undefined
|
||||
|
||||
- ansible.builtin.set_fact:
|
||||
flatpkgs: "{{ flatpkgs + [ 'com.nextcloud.desktopclient.nextcloud' ] }}"
|
||||
- name: Append to pkg_Flatpak
|
||||
when:
|
||||
- ansible_os_family != 'Darwin'
|
||||
|
||||
- name: append to caskpkgs
|
||||
- ansible_system == 'Linux'
|
||||
- nextcloud.method == 'flatpak'
|
||||
notify:
|
||||
- Depend flatpak
|
||||
ansible.builtin.set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'nextcloud' ] }}"
|
||||
when: ansible_os_family == 'Darwin'
|
||||
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'] }}"
|
||||
|
||||
Reference in New Issue
Block a user