Files
ansible_role_package/tasks/pkgs/alacritty.yml
Matthew Stobbs ceabce67e4 removed bool check
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 14:24:27 -06:00

25 lines
703 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Append alacritty
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