go_install helper now being used

This commit is contained in:
Matthew Stobbs
2026-02-11 10:50:48 -07:00
parent b6f7ba485b
commit 3df63f1451
7 changed files with 190 additions and 186 deletions

View File

@@ -2,7 +2,8 @@
# Package: air
# Description: application auto reload for go
# Version: latest
# Methods: source (go install)
# Methods:
# - source (go install)
# Helpers: go_install
---
# {{{ Configure air
@@ -14,7 +15,7 @@
when:
- air_install_method is undefined
ansible.builtin.set_fact:
air_install_method: "{% if install_method in air_install_methods %}{{ install_method }}{% else %}{{ air_install_method[0] }}{% endif %}"
air_install_method: "{{ install_method if install_method in air_install_methods else air_install_methods[0] }}"
- name: Configure air source install
when:
@@ -33,9 +34,9 @@
- name: Clean existing air install
when:
- clean_install
loop: air_build_files
loop: "{{ air_build_files }}"
loop_control:
lopo_var: air_file
loop_var: air_file
ansible.builtin.file:
state: absent
path: "{{ install_prefix }}/{{ air_file }}"

View File

@@ -1,6 +1,15 @@
# vim: set filetype=yaml.ansible :
# Package: alacritty
# Description: GPU accelerated terminal emulator written in rust
# Version: v0.16.1
# Methods:
# - system
# - source (cargo build)
# Helpers:
# - cargo_build
---
- name: Configure alacritty # {{{
# {{{ pre install configuration
- name: Configure alacritty
when:
- "'alacritty' not in __configured"
block:

View File

@@ -4,11 +4,6 @@
when:
- "'nerdfonts' not in __configured"
block:
- name: Load nerdfonts list
ansible.builtin.include_vars:
file: nerdfonts.yml
name: __nerdfonts
- name: Create nerdfonts directories
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"