trying to fix pkg_sys var

Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
Matthew Stobbs
2025-05-12 19:20:20 -06:00
parent 7dcacf6fde
commit 7c42c5e9e4
2 changed files with 7 additions and 11 deletions

View File

@@ -1,13 +1,5 @@
# vim: set filetype=yaml.ansible :
---
- name: Add air
when:
- air_configured is undefined
block:
- name: Append air to pkg_go
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
- name: Append air to pkg_go
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/air-verse/air@latest'] }}"