Make cider role usage more strict

This commit is contained in:
Kenneth Benzie 2024-02-27 22:03:12 +00:00
parent 643b4eac8d
commit ebf8cfac42

View File

@ -1,13 +1,15 @@
---
- assert:
that: ansible_os_family != 'Darwin'
- name: install chocolatey package
when: ansible_os_family == 'Windows'
win_chocolatey:
state: latest
name: Cider
state: latest
- name: install flatpak package
when: ansible_os_family != 'Windows' and
ansible_os_family != 'Darwin'
when: ansible_os_family != 'Windows'
become: true
flatpak:
name: sh.cider.Cider