17 lines
392 B
YAML
17 lines
392 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Add air
|
|
when:
|
|
- air_configured is undefined
|
|
block:
|
|
- name: Append air to pkg_go
|
|
notify:
|
|
- Depend go
|
|
changed_when: true
|
|
ansible.builtin.set_fact:
|
|
pkg_go: "{{ pkg_go + ['github.com/air-verse/air@latest'] }}"
|
|
|
|
- name: Set air_configured
|
|
ansible.builtin.set_fact:
|
|
air_configured: true
|