25 lines
703 B
YAML
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
|