local/roles/cider/tasks/main.yaml
Kenneth Benzie (Benie) bb2cf61658 Don't install Cider on Windows
Also add the `apple-music` role, although it currently isn't invoked as
the `win_winget` module does not exist yet.
2024-12-06 21:01:52 +00:00

17 lines
322 B
YAML

---
- assert:
that: ansible_os_family != 'Darwin'
- name: install chocolatey package
when: ansible_os_family == 'Windows'
win_chocolatey:
name: Cider
state: absent
- name: install flatpak package
when: ansible_os_family != 'Windows'
become: true
flatpak:
name: sh.cider.Cider
state: latest