Files
ansible_role_package/tasks/pkgs/godot.yml
2025-02-09 18:24:38 -07:00

17 lines
460 B
YAML

# vim: set filetype=yaml.ansible :
---
- block:
- ansible.builtin.include_tasks:
file: pkgs/flatpak.yml
when: flatpak is undefined
- name: append to flatpkgs
ansible.builtin.set_fact:
flatpkgs: "{{ flatpkgs + [ 'org.godotengine.Godot' ] }}"
when:
- ansible_os_family != 'Darwin'
- name: append to caskpkgs
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'godot' ] }}"
when: ansible_os_family == 'Darwin'