fixing packages
This commit is contained in:
@@ -4,5 +4,5 @@
|
|||||||
when: pkgconfig_go not defined
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['github.com/air-verse/air@latest'] }}"
|
gopkgs: "{{ gopkgs + ['github.com/air-verse/air@latest'] }}"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# Install ansible for current platform
|
|
||||||
---
|
---
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/go.yml
|
||||||
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['github.com/bufbuild/buf/cmd/buf@latest'] }}"
|
gopkgs: "{{ gopkgs + ['github.com/bufbuild/buf/cmd/buf@latest'] }}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/go.yml
|
||||||
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['github.com/mrtazz/checkmake/cmd/checkmake@latest'] }}"
|
gopkgs: "{{ gopkgs + ['github.com/mrtazz/checkmake/cmd/checkmake@latest'] }}"
|
||||||
|
|||||||
@@ -2,8 +2,3 @@
|
|||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'cmake' ] }}"
|
syspkgs: "{{ syspkgs + [ 'cmake' ] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/pipx.yml
|
||||||
|
when: pkgconfig_pipx not defined
|
||||||
|
|
||||||
- name: add to pipxpkgs
|
- name: add to pipxpkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
pipxpkgs: "{{ pipxpkgs + ['cmakelang'] }}"
|
pipxpkgs: "{{ pipxpkgs + ['cmakelang'] }}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/nodejs.yml
|
||||||
|
when: pkgconfig_nodejs not defined
|
||||||
|
|
||||||
- name: add to npmpkgs
|
- name: add to npmpkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
npmpkgs: "{{ npmpkgs + ['@commitlint/cli'] }}"
|
npmpkgs: "{{ npmpkgs + ['@commitlint/cli'] }}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/nodejs.yml
|
||||||
|
when: pkgconfig_nodejs not defined
|
||||||
|
|
||||||
- name: add to npmpkgs
|
- name: add to npmpkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
npmpkgs: "{{ npmpkgs + ['@commitlint/config-conventional'] }}"
|
npmpkgs: "{{ npmpkgs + ['@commitlint/config-conventional'] }}"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
- name: ensure hashicorp repo is active
|
- name: ensure hashicorp repo is active
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "pkgs/hashicorp_repo.yml"
|
file: "pkgs/hashicorp_repo.yml"
|
||||||
when: pkgconfig_hashicorp is not defined
|
when: pkgconfig_hashicorp not defined
|
||||||
|
|
||||||
- name: append to syspkgs
|
- name: append to syspkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: "pkgs/rust.yml"
|
||||||
|
when: pkgconfig_rust not defined
|
||||||
|
|
||||||
- name: add to cargopkgs
|
- name: add to cargopkgs
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
cargopkgs: "{{ cargopkgs + [ 'dotenv-linter' ] }}"
|
cargopkgs: "{{ cargopkgs + [ 'dotenv-linter' ] }}"
|
||||||
|
|||||||
@@ -2,7 +2,3 @@
|
|||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'editorconfig' ] }}"
|
syspkgs: "{{ syspkgs + [ 'editorconfig' ] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: "pkgs/rust.yml"
|
||||||
|
when: pkgconfig_rust not defined
|
||||||
|
|
||||||
- name: add to cargopkgs
|
- name: add to cargopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
cargopkgs: "{{ cargopkgs + [ 'eza' ] }}"
|
cargopkgs: "{{ cargopkgs + [ 'eza' ] }}"
|
||||||
|
|||||||
@@ -1,14 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
when: ansible_os_family != 'Darwin'
|
ansible.builtin.set_fact:
|
||||||
set_fact:
|
|
||||||
syspkgs: "{{ syspkgs + [ 'firefox' ] }}"
|
syspkgs: "{{ syspkgs + [ 'firefox' ] }}"
|
||||||
tags:
|
when: ansible_os_family != 'Darwin'
|
||||||
- packages
|
|
||||||
|
|
||||||
- name: append to caskpkgs
|
- name: append to caskpkgs
|
||||||
when: ansible_os_family == 'Darwin'
|
ansible.builtin.set_fact:
|
||||||
set_fact:
|
|
||||||
caskpkgs: "{{ caskpkgs + [ 'firefox' ] }}"
|
caskpkgs: "{{ caskpkgs + [ 'firefox' ] }}"
|
||||||
tags:
|
when: ansible_os_family == 'Darwin'
|
||||||
- packages
|
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'fzf' ] }}"
|
syspkgs: "{{ syspkgs + [ 'fzf' ] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
when: pkgconfig_terrarepo is not defined
|
when: pkgconfig_terrarepo is not defined
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'ghostty' ] }}"
|
syspkgs: "{{ syspkgs + [ 'ghostty' ] }}"
|
||||||
|
|
||||||
- name: no ghostty for this system
|
- name: no ghostty for this system
|
||||||
@@ -19,5 +19,5 @@
|
|||||||
|
|
||||||
- name: append ghostty to caskpkgs
|
- name: append ghostty to caskpkgs
|
||||||
when: ansible_distribution == 'MacOSX'
|
when: ansible_distribution == 'MacOSX'
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
caskpkgs: "{{ caskpkgs + [ 'ghostty' ] }}"
|
caskpkgs: "{{ caskpkgs + [ 'ghostty' ] }}"
|
||||||
|
|||||||
@@ -4,11 +4,9 @@
|
|||||||
name: _git
|
name: _git
|
||||||
- ansible.builtin.set_fact:
|
- ansible.builtin.set_fact:
|
||||||
pkgconfig_git: "{{ _git | ansible.builtin.combine(pkgconfig.git) }}"
|
pkgconfig_git: "{{ _git | ansible.builtin.combine(pkgconfig.git) }}"
|
||||||
- ansible.builtin.set_fact:
|
pkgconfig_git_pkgs: "{{ pkgconfig.git.pkgs[ansible_system] }}"
|
||||||
pkgconfig_git:
|
|
||||||
pkgs: "{{ pkgconfig.git.pkgs[ansible_system] }}"
|
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
syspkgs: "{{ syspkgs + pkgconfig_git.pkgs }}"
|
syspkgs: "{{ syspkgs + pkgconfig_git_pkgs }}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/go.yml
|
||||||
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['github.com/charmbracelet/glow@latest'] }}"
|
gopkgs: "{{ gopkgs + ['github.com/charmbracelet/glow@latest'] }}"
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
pkgconfig_go: "{{ _go | ansible.builtin.combine(pkgconfig.go) }}"
|
pkgconfig_go: "{{ _go | ansible.builtin.combine(pkgconfig.go) }}"
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
srcpkgs: "{{ srcpkgs + [ 'go' ] }}"
|
srcpkgs: "{{ srcpkgs + [ 'go' ] }}"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- ansible.builtin.include_tasks:
|
- ansible.builtin.include_tasks:
|
||||||
file: pkgs/go.yml
|
file: pkgs/go.yml
|
||||||
when: pkgconfig_go is not defined
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['golang.org/x/tools/gopls@latest'] }}"
|
gopkgs: "{{ gopkgs + ['golang.org/x/tools/gopls@latest'] }}"
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: "pkgs/rust.yml"
|
||||||
|
when: pkgconfig_rust not defined
|
||||||
|
|
||||||
- name: add to cargopkgs
|
- name: add to cargopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
cargopkgs: "{{ cargopkgs + [ 'htmx-lsp' ] }}"
|
cargopkgs: "{{ cargopkgs + [ 'htmx-lsp' ] }}"
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'hugo' ] }}"
|
syspkgs: "{{ syspkgs + [ 'hugo' ] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
syspkgs: "{{ syspkgs + [ 'jq' ] }}"
|
syspkgs: "{{ syspkgs + [ 'jq' ] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/go.yml
|
||||||
|
when: pkgconfig_go not defined
|
||||||
|
|
||||||
- name: add to gopkgs
|
- name: add to gopkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
gopkgs: "{{ gopkgs + ['github.com/jesseduffield/lazygit@latest'] }}"
|
gopkgs: "{{ gopkgs + ['github.com/jesseduffield/lazygit@latest'] }}"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
- name: add to npmpkgs
|
- name: add to npmpkgs
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
npmpkgs: "{{ npmpkgs + ['markdownlint-cli'] }}"
|
npmpkgs: "{{ npmpkgs + ['markdownlint-cli'] }}"
|
||||||
|
|||||||
@@ -3,14 +3,8 @@
|
|||||||
file: nodejs.yml
|
file: nodejs.yml
|
||||||
name: _nodejs
|
name: _nodejs
|
||||||
- ansible.builtin.set_fact:
|
- ansible.builtin.set_fact:
|
||||||
pkgconfig:
|
pkgconfig_nodejs: "{{ _nodejs | ansible.builtin.combine(pkgconfig.nodejs) }}"
|
||||||
nodejs: "{{ _nodejs | ansible.builtin.combine(pkgconfig.nodejs) }}"
|
|
||||||
|
|
||||||
- name: append to pkgs
|
- name: append to pkgs
|
||||||
set_fact:
|
set_fact:
|
||||||
syspkgs: "{{ syspkgs + pkgconfig.nodejs.pkgs[ansible_system] }}"
|
syspkgs: "{{ syspkgs + pkgconfig_nodejs.pkgs[ansible_system] }}"
|
||||||
tags:
|
|
||||||
- RedHat
|
|
||||||
- linux
|
|
||||||
- package
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user