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

27 lines
751 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Append alacritty
when:
- alacritty_configured is undefined
block:
- name: Load alacritty configuration
ansible.builtin.include_tasks:
file: config/alacritty.yml
- name: Append alacritty to pkg_cargo
when:
- alacritty.method == 'cargo'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty.build_deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty.cargo] }}"
- name: Append alacritty to pkg_cask
when:
- alacritty.method == 'cask'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['alacritty'] }}"
- name: Set alacritty_configured
ansible.builtin.set_fact:
alacritty_configured: true