Files
ansible_role_package/tasks/pkgs/nextcloud.yml
Matthew Stobbs ceabce67e4 removed bool check
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 14:24:27 -06:00

32 lines
933 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add nextcloud_client
block:
- name: Load nextcloud-client config
ansible.builtin.include_tasks:
file: config/nextcloud.yml
- name: Append nextcloud-client to pkg_Flatpak
when:
- ansible_system == 'Linux'
- nextcloud.method == 'flatpak'
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"
- name: Append nextcloud-client to pkg_sys
when:
- ansible_system == 'Linux'
- nextcloud.method == 'sys'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['nextcloud'] }}"
- name: Append nextcloud-client to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['nextcloud'] }}"
- name: Set nextcloud_client_configured
ansible.builtin.set_fact:
nextcloud_client_configured: true