trying to fix pkg_sys var
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,3 +3,7 @@
|
||||
- name: Append ansible-lint to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
|
||||
|
||||
- name: Dump pkg_sys
|
||||
debug:
|
||||
var: pkg_sys
|
||||
|
||||
Reference in New Issue
Block a user