Files
ansible_role_package/tasks/pkgs/air.yml
Matthew Stobbs 59832a61e5 Working on ansible-lint
- need to figure out testing
2026-01-25 02:16:53 -07:00

17 lines
496 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Set air configuration
block:
- name: Set air version and url
ansible.builtin.set_fact:
air_version: "{{ air_version | default('latest') }}"
air_url: "{{ air_url | default('github.com/air-verse/air') }}"
- name: Set air install path
ansible.builtin.set_fact:
air_pkg: "{{ air_url }}@{{ air_version }}"
- name: Append air to pkg_go
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + [air_install] }}"