Files
ansible_role_package/tasks/pkgs/heroic.yml
Matthew Stobbs ef8452eb0e remove unneeded notifys
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 12:26:35 -06:00

22 lines
578 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Add heroic
when:
- heroic_configured is undefined
block:
- name: Append heroic to pkg_flatpak
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"
- name: Append heroic to pkg_cask
when:
- ansible_os_family == 'Darwin'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['heroic'] }}"
- name: Set heroic_configured
ansible.builtin.set_fact:
heroic_configured: true