fix remaining packages

- testing container is starting to work on macos
- still need to do testing for linux machines
This commit is contained in:
Matthew Stobbs
2025-02-23 01:32:45 -07:00
parent b83a79a13d
commit 2472f527d1
77 changed files with 294 additions and 44 deletions

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/air-verse/air@latest'] }}"

View File

@@ -7,6 +7,7 @@
- name: Append to pkgs
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty.deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['@ansible/ansible-language-server'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['bash-language-server'] }}"

View File

@@ -5,6 +5,7 @@
- bitwarden.method == 'flatpak'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [bitwarden.pkg] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + broot.deps }}"
pkg_cargo: "{{ pkg_cargo + [broot] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/bufbuild/buf/cmd/buf@latest'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/bufbuild/buf-language-server/cmd/bufls@latest'] }}"

View File

@@ -7,7 +7,7 @@
ansible.builtin.yum_repository:
name: "{{ carapace.repo.name }}"
description: "{{ carapace.repo.description }}"
baseurl: "{{ charapace.repo.baseurl }}"
baseurl: "{{ carapace.repo.baseurl }}"
enabled: true
gpgcheck: false
state: present

View File

@@ -3,5 +3,6 @@
- name: Append to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/cheat/cheat/cmd/cheat@latest'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/mrtazz/checkmake/cmd/checkmake@latest'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + [choose] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_pipx
notify:
- Depend pipx
changed_when: true
ansible.builtin.set_fact:
pkg_pipx: "{{ pkg_pipx + ['cmakelang'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['@commitlint/cli'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['@commitlint/config-conventional'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
@@ -13,5 +14,6 @@
- ansible_system == 'Darwin'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + consul.pkgs }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['vscode-langservers-extracted'] }}"

View File

@@ -3,5 +3,6 @@
- name: Append to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/rs/curlie@latest'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['io.dbeaver.DBeaverCommunity'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['dockerfile-language-server-nodejs'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['dotenv-linter'] }}"

View File

@@ -3,5 +3,6 @@
- name: Append to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/muesli/duf@latest'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['du-dust'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['vscode-langservers-extracted'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['eza'] }}"

View File

@@ -4,10 +4,11 @@
when:
- ghostty.method == 'src'
- ansible_distribution != 'MacOSX'
notify:
- Depend zig
block:
- name: Build ghostty from source
notify:
- Depend zig
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
pkg_src: "{{ pkg_src + ['ghostty'] }}"
@@ -28,6 +29,7 @@
- ansible_distribution == 'Fedora'
notify:
- Depend terra repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/charmbracelet/glow@latest'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['org.godotengine.Godot'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['golang.org/x/tools/gopls@latest'] }}"

View File

@@ -11,5 +11,6 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['gping'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['com.heroicgameslauncher.hgl'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['vscode-langservers-extracted'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + ['io.httpie.Httpie'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['intelephense'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['jinja-lsp'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['vscode-langservers-extracted'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/jesseduffield/lazygit@latest'] }}"

View File

@@ -4,7 +4,7 @@
when:
- libreoffice.method == 'flatpak'
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + libreoffice.flatpak }}"
pkg_flatpak: "{{ pkg_flatpak + [libreoffice.flatpak] }}"
- name: Append to pkg_sys
when:

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['markdownlint-cli'] }}"

View File

@@ -5,6 +5,7 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + neovide.deps }}"
pkg_cargo: "{{ pkg_cargo + [neovide] }}"

View File

@@ -6,6 +6,7 @@
- nextcloud.method == 'flatpak'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [nextcloud] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_pipx
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_pipx: "{{ pkg_pipx + ['nginx-language-server'] }}"

View File

@@ -1,7 +1,19 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
- name: Append to pkg_tap
when:
- ansible_distribution == 'MacOSX'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + [pkgconfig.nomad[ansible_system]] }}"
pkg_tap: "{{ pkg_tap + nomad.pkgs }}"
- name: Append to pkg_sys
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + nomad.pkgs }}"

View File

@@ -4,12 +4,13 @@
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + [pkgconfig.packer[ansible_system]] }}"
pkg_tap: "{{ pkg_tap + packer.pkgs }}"
- name: Append to pkg_sys
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['packer'] }}"
pkg_sys: "{{ pkg_sys + packer.pkgs }}"

View File

@@ -5,6 +5,7 @@
- pgadmin.method == 'flatpak'
notify:
- Depend flatpak
changed_when: true
ansible.builtin.set_fact:
pkg_flatpak: "{{ pkg_flatpak + [pgadmin.flatpak] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_pipx
notify:
- Depend pipx
changed_when: true
ansible.builtin.set_fact:
pkg_pipx: "{{ pkg_pipx + ['pyright'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['@quobix/vacuum'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/mgechev/revive@latest'] }}"

View File

@@ -11,5 +11,6 @@
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['sd'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_pipx
notify:
- Depend pipx
changed_when: true
ansible.builtin.set_fact:
pkg_pipx: "{{ pkg_pipx + ['sqlfluff'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['sql-language-server'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_cargo: "{{ pkg_cargo + ['starship'] }}"

View File

@@ -11,7 +11,7 @@
- name: Fedora >=41
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager addrepo --from-repofile={{ pkgconfig.tailscale.url_base }}/fedora/tailscale.repo"
cmd: "dnf config-manager addrepo --from-repofile={{ tailscale.url_base }}/fedora/tailscale.repo"
become: true
when:
- ansible_distribution == 'Fedora'
@@ -20,7 +20,7 @@
- name: Fedora <41
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager --add-repo {{ pkgconfig.tailscale.url_base }}/fedora/tailscale.repo"
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/fedora/tailscale.repo"
become: true
when:
- ansible_distribution == 'Fedora'
@@ -29,7 +29,7 @@
- name: Rhel based distros
ansible.builtin.command:
creates: /etc/yum.repos.d/tailscale.repo
cmd: "dnf config-manager --add-repo {{ pkgconfig.tailscale.url_base }}/rhel/{{ ansible_os_major_version }}/tailscale.repo"
cmd: "dnf config-manager --add-repo {{ tailscale.url_base }}/rhel/{{ ansible_os_major_version }}/tailscale.repo"
become: true
when:
- ansible_distribution != 'Fedora'
@@ -43,14 +43,14 @@
- name: Get tailscal keyring
become: "{{ sys_pkg_become }}"
ansible.builtin.get_url:
url: "{{ pkgconfig.tailscale.url_base }}/debian/{{ pkgconfig.tailscale.release[ansible_os_release].gpg }}"
url: "{{ tailscale.url_base }}/debian/{{ tailscale.release.gpg }}"
dest: /usr/share/keyrings/tailscale-archive-keyring.gpg
mode: '0644'
- name: Get tailscale repo list
become: "{{ sys_pkg_become }}"
ansible.builtin.get_url:
url: "{{ pkgconfig.tailscale.url_base }}/debian/{{ pkgconfig.tailscale.release[ansible_os_release].list }}"
url: "{{ tailscale.url_base }}/debian/{{ tailscale.release.list }}"
dest: /etc/apt/sources.list.d/tailscale.list
mode: '0644'

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['@tailwindcss/language-server'] }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_go
notify:
- Depend go
changed_when: true
ansible.builtin.set_fact:
pkg_go: "{{ pkg_go + ['github.com/a-h/templ/cmd/templ@latest'] }}"

View File

@@ -1,17 +1,21 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
notify:
- Depend hashicorp repo
block:
- name: MacOSX specific
when:
- ansible_distribution == 'MacOSX'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + terraform.pkgs }}"
- name: Linux specific
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + terraform.pkgs }}"

View File

@@ -1,17 +1,21 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
notify:
- Depend hashicorp repo
block:
- name: MacOS specific
when:
- ansible_system == 'Darwin'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + terraformls.pkgs }}"
- name: Linux specific
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + terraformls.pkgs }}"

View File

@@ -1,17 +1,21 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
notify:
- Depend hashicorp repo
block:
- name: MacOS specific
when:
- ansible_system == 'Darwin'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + [pkgconfig.vault[ansible_system]] }}"
pkg_tap: "{{ pkg_tap + vault.pkgs }}"
- name: Linux specific
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['vault'] }}"
pkg_sys: "{{ pkg_sys + vault.pkgs }}"

View File

@@ -3,5 +3,6 @@
- name: Add to pkg_npm
notify:
- Depend node
changed_when: true
ansible.builtin.set_fact:
pkg_npm: "{{ pkg_npm + ['yaml-language-server'] }}"

View File

@@ -3,5 +3,6 @@
- name: Append to pkgs
notify:
- Depend zig
changed_when: true
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['zls'] }}"