Add typst role
This commit is contained in:
15
roles/typst/tasks/main.yaml
Normal file
15
roles/typst/tasks/main.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: install homebrew package
|
||||
when: ansible_os_family == 'Darwin'
|
||||
homebrew:
|
||||
state: latest
|
||||
name: typst
|
||||
|
||||
- name: install scoop package
|
||||
when: ansible_os_family == 'Windows'
|
||||
community.windows.win_scoop:
|
||||
state: present
|
||||
name: typst
|
||||
|
||||
- when: ansible_os_family != 'Darwin' and ansible_os_family != 'Windows'
|
||||
include_tasks: Linux.yaml
|
||||
Reference in New Issue
Block a user