start adding other packages sources
- adding sources for cargo, npm and go source packages
This commit is contained in:
4
tasks/build/cargo_dotenv-linter.yml
Normal file
4
tasks/build/cargo_dotenv-linter.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
- name: add dotenv-linter to cargopkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cargopkgs: "{{ cargopkgs + ['dotenv-linter'] }}"
|
||||||
4
tasks/build/cargo_eza.yml
Normal file
4
tasks/build/cargo_eza.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
- name: add eza to cargopkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cargopkgs: "{{ cargopkgs + ['eza'] }}"
|
||||||
5
tasks/build/cargo_htmx-lsp.yml
Normal file
5
tasks/build/cargo_htmx-lsp.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: add htmx-lsp to cargopkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cargopkgs: "{{ cargopkgs + ['htmx-lsp'] }}"
|
||||||
|
|
||||||
5
tasks/build/cargo_starship.yml
Normal file
5
tasks/build/cargo_starship.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
- name: add starship to cargopkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
cargopkgs: "{{ cargopkgs + ['starship'] }}"
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
path: "{{ _go.install_path }}"
|
path: "{{ _go.install_path }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: extract go package for Linux
|
- name: extract go package
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
dest: "{{ _go.install_path }}"
|
dest: "{{ _go.install_path }}"
|
||||||
|
|||||||
0
tasks/build/go_checkmake.yml
Normal file
0
tasks/build/go_checkmake.yml
Normal file
0
tasks/build/go_glow.yml
Normal file
0
tasks/build/go_glow.yml
Normal file
0
tasks/build/go_lazygit.yml
Normal file
0
tasks/build/go_lazygit.yml
Normal file
0
tasks/build/go_revive.yml
Normal file
0
tasks/build/go_revive.yml
Normal file
0
tasks/build/gopls.yml
Normal file
0
tasks/build/gopls.yml
Normal file
0
tasks/build/npm_ansible-language-server.yml
Normal file
0
tasks/build/npm_ansible-language-server.yml
Normal file
0
tasks/build/npm_commitlint-cli.yml
Normal file
0
tasks/build/npm_commitlint-cli.yml
Normal file
0
tasks/build/npm_commitlint-config-conventional.yml
Normal file
0
tasks/build/npm_commitlint-config-conventional.yml
Normal file
0
tasks/build/npm_markdown-cli.yml
Normal file
0
tasks/build/npm_markdown-cli.yml
Normal file
0
tasks/build/npm_quobix-vacuum.yml
Normal file
0
tasks/build/npm_quobix-vacuum.yml
Normal file
0
tasks/build/npm_tailwindcss-languageserver.yml
Normal file
0
tasks/build/npm_tailwindcss-languageserver.yml
Normal file
@@ -1,4 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
- ansible.builtin.include_vars:
|
||||||
|
file: nushell.yml
|
||||||
|
name: _nushell
|
||||||
|
|
||||||
- name: install nushell via cargo
|
- name: install nushell via cargo
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
@@ -11,17 +15,4 @@
|
|||||||
- --locked
|
- --locked
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: nuitem
|
loop_var: nuitem
|
||||||
loop:
|
loop: "{{ _nushell.nu_pkgs_list }}"
|
||||||
- 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
|
|
||||||
|
|||||||
0
tasks/build/pipx_cmakelang.yml
Normal file
0
tasks/build/pipx_cmakelang.yml
Normal file
0
tasks/build/pipx_sqlfluff.yml
Normal file
0
tasks/build/pipx_sqlfluff.yml
Normal file
@@ -1,7 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
- ansible.builtin.include_vars:
|
||||||
|
file: zig.yml
|
||||||
|
name: _zig
|
||||||
|
|
||||||
- name: download zig archive
|
- name: download zig archive
|
||||||
ansible.builtin.set_fact:
|
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
|
- name: create temp path
|
||||||
ansible.builtin.tempfile:
|
ansible.builtin.tempfile:
|
||||||
@@ -14,3 +18,10 @@
|
|||||||
dest: "{{ d_zig_dl_tmp.path }}/{{ zig_pkg }}"
|
dest: "{{ d_zig_dl_tmp.path }}/{{ zig_pkg }}"
|
||||||
url: "{{ _zig.base_url }}/{{ zig_pkg }}"
|
url: "{{ _zig.base_url }}/{{ zig_pkg }}"
|
||||||
decompress: false
|
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
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
- ansible.builtin.include_vars:
|
||||||
|
file: carapace.yml
|
||||||
|
name: _carapace
|
||||||
|
|
||||||
- name: append carapace to syspkgs
|
- name: append carapace to syspkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'carapace' ] }}"
|
syspkgs: "{{ syspkgs + [ 'carapace' ] }}"
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
- name: install RedHat dependencies
|
- ansible.builtin.include_vars:
|
||||||
|
file: nushell.yml
|
||||||
|
name: _nushell
|
||||||
|
|
||||||
|
- name: install macOS dependencies
|
||||||
set_fact:
|
set_fact:
|
||||||
nushell_pkgdeps:
|
nushell_pkgdeps:
|
||||||
- cargo
|
- cargo
|
||||||
@@ -7,8 +11,8 @@
|
|||||||
- openssl-devel
|
- openssl-devel
|
||||||
- libX11-devel
|
- libX11-devel
|
||||||
nushell_altdeps:
|
nushell_altdeps:
|
||||||
- Linux/nushell.yml
|
- build/nushell.yml
|
||||||
- "{{ ansible_os_family }}/carapace.yml"
|
- "pkgs/{{ ansible_os_family }}/carapace.yml"
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
---
|
---
|
||||||
_carapace:
|
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
version: 1.23.5
|
version: 1.23.5
|
||||||
install_path: /usr/local
|
install_path: /usr/local
|
||||||
archmap:
|
archmap:
|
||||||
|
arm64: arm64
|
||||||
aarch64: arm64
|
aarch64: arm64
|
||||||
x86_64: amd64
|
x86_64: amd64
|
||||||
1.23.5:
|
1.23.5:
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ packages: []
|
|||||||
syspkgs: []
|
syspkgs: []
|
||||||
srcpkgs: []
|
srcpkgs: []
|
||||||
caskpkgs: []
|
caskpkgs: []
|
||||||
|
cargopkgs: []
|
||||||
assume_missing_is_syspkg: false
|
assume_missing_is_syspkg: false
|
||||||
install_state: present
|
install_state: present
|
||||||
full_upgrade: false
|
full_upgrade: false
|
||||||
|
|||||||
@@ -1,4 +1,16 @@
|
|||||||
---
|
---
|
||||||
_nushell:
|
|
||||||
install_prefix: /usr/local
|
install_prefix: /usr/local
|
||||||
|
nu_pkgs_list:
|
||||||
|
- 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
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
---
|
---
|
||||||
_zig:
|
|
||||||
version: 0.13.0
|
version: 0.13.0
|
||||||
install_path: /usr/local
|
install_path: /usr/local
|
||||||
base_url: https://ziglang.org/download
|
base_url: https://ziglang.org/download
|
||||||
|
sysmap:
|
||||||
|
Darwin: macos
|
||||||
|
Linux: linux
|
||||||
|
archmap:
|
||||||
|
aarch64: aarch64
|
||||||
|
arm64: aarch64
|
||||||
|
x86_64: x86_64
|
||||||
|
|||||||
Reference in New Issue
Block a user