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 :
|
# vim: set filetype=yaml.ansible :
|
||||||
---
|
---
|
||||||
- name: Add air
|
- name: Append air to pkg_go
|
||||||
when:
|
ansible.builtin.set_fact:
|
||||||
- air_configured is undefined
|
pkg_go: "{{ pkg_go + ['github.com/air-verse/air@latest'] }}"
|
||||||
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
|
- name: Append ansible-lint to pkg_sys
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
|
pkg_sys: "{{ pkg_sys + ['ansible-lint'] }}"
|
||||||
|
|
||||||
|
- name: Dump pkg_sys
|
||||||
|
debug:
|
||||||
|
var: pkg_sys
|
||||||
|
|||||||
Reference in New Issue
Block a user