Working on ansible-lint

- need to figure out testing
This commit is contained in:
Matthew Stobbs
2026-01-25 02:16:53 -07:00
parent fc0f6e6a82
commit 59832a61e5
3 changed files with 43 additions and 7 deletions

View File

@@ -1,5 +1,16 @@
# 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 + ['github.com/air-verse/air@latest'] }}"
pkg_go: "{{ pkg_go + [air_install] }}"