finished with a bunch more
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
# Helpers:
|
||||
# - cargo_build
|
||||
---
|
||||
# {{{ Configure alacritty
|
||||
- name: Start alacritty configuration
|
||||
when:
|
||||
- "'alacritty' not in __configured"
|
||||
@@ -19,7 +18,7 @@
|
||||
ansible.builtin.set_fact:
|
||||
alacritty_install_method: "{{ install_method if install_method in alacritty.install_methods else alacritty.install_methods[0] }}"
|
||||
|
||||
- name: Configure alacritty source install
|
||||
- name: Configure alacritty source install # {{{
|
||||
when:
|
||||
- alacritty_install_method == "source"
|
||||
block:
|
||||
@@ -50,29 +49,24 @@
|
||||
ansible.builtin.set_fact:
|
||||
alacritty_build_deps: "{{ build_deps + ['@Development Tools'] }}"
|
||||
|
||||
# }}}
|
||||
- name: Append alacritty installation
|
||||
block:
|
||||
- name: Append alacritty to pkg_cargo_build
|
||||
when:
|
||||
- alacritty_method == 'source'
|
||||
block:
|
||||
- name: Configure pkg dependencies
|
||||
loop: "{{ alacritty.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: dep
|
||||
ansible.builtin.include_tasks: "pkgs/{{ dep }}.yml"
|
||||
- name: Configure pkg dependencies
|
||||
loop: "{{ alacritty.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: dep
|
||||
ansible.builtin.include_tasks: "pkgs/{{ dep }}.yml"
|
||||
|
||||
- name: Append build dependencies and cargo config
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + alacritty_build_deps }}"
|
||||
pkg_cargo_build: "{{ pkg_cargo_build + [alacritty_src_install] }}"
|
||||
|
||||
- name: Append alacritty to pkg_sys
|
||||
# }}}
|
||||
- name: Configure alacritty system install
|
||||
when:
|
||||
- alacritty_method == 'system'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + [alacritty_pkgname] }}"
|
||||
- alacritty_install_method == 'system'
|
||||
block:
|
||||
- name: Queue alacritty for installation
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + [alacritty_pkgname] }}"
|
||||
|
||||
- name: Complete alacritty configuration
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user