start adding other packages sources

- adding sources for cargo, npm and go source packages
This commit is contained in:
Matthew Stobbs
2025-01-21 22:11:15 -07:00
parent 15d39f39ee
commit 1ec4bda33f
29 changed files with 75 additions and 28 deletions

View File

@@ -0,0 +1,4 @@
---
- name: add dotenv-linter to cargopkgs
ansible.builtin.set_fact:
cargopkgs: "{{ cargopkgs + ['dotenv-linter'] }}"

View File

@@ -0,0 +1,4 @@
---
- name: add eza to cargopkgs
ansible.builtin.set_fact:
cargopkgs: "{{ cargopkgs + ['eza'] }}"

View File

@@ -0,0 +1,5 @@
---
- name: add htmx-lsp to cargopkgs
ansible.builtin.set_fact:
cargopkgs: "{{ cargopkgs + ['htmx-lsp'] }}"

View File

@@ -0,0 +1,5 @@
---
- name: add starship to cargopkgs
ansible.builtin.set_fact:
cargopkgs: "{{ cargopkgs + ['starship'] }}"

View File

@@ -38,7 +38,7 @@
path: "{{ _go.install_path }}"
state: directory
- name: extract go package for Linux
- name: extract go package
become: true
ansible.builtin.unarchive:
dest: "{{ _go.install_path }}"

View File

0
tasks/build/go_glow.yml Normal file
View File

View File

View File

0
tasks/build/gopls.yml Normal file
View File

View File

View File

View File

View File

@@ -1,4 +1,8 @@
---
- ansible.builtin.include_vars:
file: nushell.yml
name: _nushell
- name: install nushell via cargo
become: true
ansible.builtin.command:
@@ -11,17 +15,4 @@
- --locked
loop_control:
loop_var: nuitem
loop:
- nu
- nu_plugin_inc
- nu_plugin_polars
- nu_plugin_gstat
- nu_plugin_formats
- nu_plugin_query
- nu_plugin_highlight
- nu_plugin_json_path
- nu_plugin_net
- nu_plugin_prometheus
- nu_plugin_qr_maker
- nu_plugin_rpm
- nu_plugin_semver
loop: "{{ _nushell.nu_pkgs_list }}"

View File

View File

View File

@@ -1,7 +1,11 @@
---
- ansible.builtin.include_vars:
file: zig.yml
name: _zig
- name: download zig archive
ansible.builtin.set_fact:
zig_pkg: "zig-linux-{{ ansible_archtecture }}-{{ versions.zig }}.tar.xz"
zig_pkg: "zig-{{ _zig.sysmap[ansible_system] }}-{{ _zig.archmap[ansible_archtecture] }}-{{ _zig.version }}.tar.xz"
- name: create temp path
ansible.builtin.tempfile:
@@ -14,3 +18,10 @@
dest: "{{ d_zig_dl_tmp.path }}/{{ zig_pkg }}"
url: "{{ _zig.base_url }}/{{ zig_pkg }}"
decompress: false
- name: extract zig package
become: true
ansible.builtin.unarchive:
dest: "{{ _zig.install_path }}"
src: "{{ d_zig_dl_tmp.path }}/{{ zig_pkg }}"
remote_src: true