Working on ansible-lint
- need to figure out testing
This commit is contained in:
@@ -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] }}"
|
||||
|
||||
Reference in New Issue
Block a user