reorganizing configuration
- static package configuration in `vars/pkgs` - loaded into the variable `pkgconfig` as part of `tasks/main.yml`
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- ansible.builtin.include_tasks:
|
||||
file: pkgs/go.yml
|
||||
when: pkgconfig_go is undefined
|
||||
|
||||
- name: add to gopkgs
|
||||
- name: Add to go_pkgs
|
||||
notify:
|
||||
- Depend go
|
||||
ansible.builtin.set_fact:
|
||||
gopkgs: "{{ gopkgs + ['github.com/air-verse/air@latest'] }}"
|
||||
go_pkgs: "{{ go_pkgs + [air.pkg] }}"
|
||||
|
||||
Reference in New Issue
Block a user