organizing for go pkg installs
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
notify:
|
||||
- Depend go
|
||||
ansible.builtin.set_fact:
|
||||
go_pkgs: "{{ go_pkgs + [air.pkg] }}"
|
||||
go_pkgs: "{{ go_pkgs + [air] }}"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Append to pkgs
|
||||
- name: Install from archive
|
||||
when:
|
||||
- prefer_archive
|
||||
ansible.builtin.set_fact:
|
||||
src_pkgs: "{{ src_pkgs + ['go'] }}"
|
||||
archive_pkgs: "{{ archive_pkgs + ['go'] }}"
|
||||
|
||||
- name: Append to pkgs
|
||||
when:
|
||||
- not prefer_archive
|
||||
ansible.builtin.set_fact:
|
||||
sys_pkgs: "{{ src_pkgs + ['go'] }}"
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- ansible.builtin.set_fact:
|
||||
nodejs: true
|
||||
|
||||
- name: append to pkgs
|
||||
- name: Append to pkgs
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + pkgconfig.nodejs.pkgs[ansible_system] }}"
|
||||
|
||||
Reference in New Issue
Block a user