configuring more packages

This commit is contained in:
Matthew Stobbs
2025-01-22 22:14:49 -07:00
parent 852331a692
commit 6fa5a46701
88 changed files with 388 additions and 492 deletions

View File

@@ -1,23 +0,0 @@
---
- name: install rust and cargo
ansible.builtin.include_tasks:
file: "pkgs/{{ ansible_os_family }}/rust.yml"
tags:
- rust
- dependency
- name: install alacritty dependencies for Debian based distributions
ansible.builtin.set_fact:
alacritty_deps:
- cmake
- pkg-config
- libfreetype6-dev
- libfontconfig1-dev
- libxcb-xfixes0-dev
- libxkbcommon-dev
- python3
- name: add to pkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + alacritty_deps }}"
srcpkgs: "{{ srcpkgs + ['build/alacritty.yml'] }}"

View File

@@ -1,7 +0,0 @@
# Install ansible for current platform
---
- name: append to pkgs
set_fact:
syspkgs: "{{ (syspkgs + [ 'ansible' ] }}"

View File

@@ -1,5 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'btop' ] }}"

View File

@@ -1,11 +0,0 @@
---
- name: enable carapace repository
become: true
ansible.builtin.apt_repository:
repo: "deb [trusted=yes] https://apt.fury.io/rsteube/ /"
state: present
update_cache: false
- name: add carapace to syspkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ 'carapace-bin' ] }}"

View File

@@ -1,9 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'cmake' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,9 +0,0 @@
---
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "{{ ansible_os_family }}/hashicorp_repo.yml"
- name: append to pkgs
set_fact:
syspkgs: "{{ (syspkgs + [ 'consul' ] }}"

View File

@@ -1,8 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'editorconfig' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,9 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'firefox' ] }}"
tags:
- packages
- RedHat
- web

View File

@@ -1,10 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'fzf' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,15 +0,0 @@
---
- name: ensure dependencies
ansible.builtin.include_tasks:
file: packages/RedHat/terra_repo.yml
tags:
- dependency
- package
- terra
- syspkgs
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'ghostty' ] }}"
tags:
- syspkgs

View File

@@ -1,10 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'git', 'git-delta', 'git-email', 'git-lfs' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,4 +0,0 @@
---
- name: append to pkgs
set_fact:
srcpkgs: "{{ srcpkgs + [ 'build/go.yml' ] }}"

View File

@@ -1,27 +0,0 @@
# install hashicorp vault for Debian/Ubuntu
---
- ansible.builtin.tempfile:
state: directory
prefix: hashicorp.
register: d_hashicorp_tmp
- name: get hashicorp archive gpg key
ansible.built.get_url:
dest: "{{ d_hashicorp_tmp.path }}/gpg"
url: https://apt.releases.hashicorp.com/gpg
- name: install hashicorp archive gpg key
become: true
ansible.builtin.command:
cmd:
- gpg
- --dearmor
- -o
- /usr/share/keyrings/hashicorp-archive-keyring.gpg
- "{{ d_hashicorp_tmp.path }}/gpg"
- name: enable hasicorp repo for debian
ansible.builtin.apt_repository:
repo: "deb [arch={{ ansible_architecture }} signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
state: present
update_cache: false

View File

@@ -1,10 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'hugo' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,10 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'jq' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,9 +0,0 @@
---
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'konsole' ] }}"
tags:
- RedHat
- linux
- package

View File

@@ -1,4 +1,4 @@
---
- name: append to pkgs
- name: append to srcpkgs
set_fact:
srcpkgs: "{{ srcpkgs + [ 'Linux/nerdfonts.yml' ] }}"
srcpkgs: "{{ srcpkgs + [ 'nerdfonts' ] }}"