1
0
Fork 0

add stuff, i don't even know anymore man

This commit is contained in:
cătălin 2024-04-19 13:38:19 +02:00
commit 98a561fa5a
No known key found for this signature in database
16 changed files with 555 additions and 56 deletions

2
ansible/requirements.yml Normal file
View file

@ -0,0 +1,2 @@
collections:
- name: kewlfft.aur

View file

@ -1,5 +0,0 @@
- name: install Open Policy Agent
ansible.builtin.get_url:
url: https://openpolicyagent.org/downloads/v0.61.0/opa_linux_amd64_static
dest: ~/.local/bin/opa
mode: '0700'

View file

@ -0,0 +1,72 @@
---
- name: Install Arch packages
ansible.builtin.package:
name:
# gnome
- gnome
- gnome-extra
- gnome-bluetooth-3.0
- gnome-control-center
- gnome-shell-extensions
- gnome-themes-extra
- gnome-shell-extension-dash-to-dock-git
- gnome-browser-connector
# dbs
- postgresql-client
- freetds
- unixodbc
# work
- visual-studio-code-bin
- azure-cli
# bluetooth
- bluez
- bluez-utils
- bluez-deprecated-tools
# docker
- docker
- docker-buildx
- docker-compose
# gayming
- steam
- steam-native-runtime
- mangohud
- lib32-mangohud
- gamemode
- lib32-gamemode
- mesa
# utils
- glow
- python-virtualenv
- asciinema
- trash-cli
- git
- base-devel
- bubblewrap
- libseccomp
- xz
- shellcheck
# misc
- networkmanager
- ttf-liberation
- firefox
state: present
- name: Install aur packages
kewlfft.aur.aur:
name:
- visual-studio-code-bin
- python-pyodbc
- gnome-shell-extension-dash-to-dock-git
- protonqt-up
- jetbrains-toolbox
- pipx
- snapd
- microsoft-edge-stable-bin
state: present

View file

@ -1,24 +1,4 @@
- name: Add Kubernetes repository
block:
- name: Add key
ansible.builtin.shell: curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
- name: Add repo
ansible.builtin.apt_repository:
repo: 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /'
state: present
filename: kubernetes
- name: add charm.sh repository
block:
- name: Add key
ansible.builtin.shell: curl -fsSL https://repo.charm.sh/apt/gpg.key | gpg --dearmor -o /etc/apt/keyrings/charm.gpg
- name: Add repo
ansible.builtin.apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *"
filename: charm.sh
---
- name: Install Debian packages
ansible.builtin.package:
name:
@ -33,5 +13,9 @@
- kubectl
- glow
- postgresql-client-common
- postgresql-client-15
- libnss3-tools
- hwinfo
- rsync
- nmap
- netcat
state: present

View file

@ -4,17 +4,25 @@
name:
- git
- tmux
- python3-pip
- python-pip
- fish
- rofi
- automake
- libtool
- mpv
- ncdu
- xclip
state: present
tags:
- agnostic
- name: Install Arch packages
become: true
when: ansible_os_family == "Archlinux"
ansible.builtin.import_tasks: arch.yml
tags:
- arch
- name: Install Debian packages
become: true
when: ansible_os_family == "Debian"
@ -48,9 +56,4 @@
become: true
ansible.builtin.import_tasks: snap.yml
tags:
- snap
- name: Install binaries
ansible.builtin.import_tasks: bin.yml
tags:
- bin
- snap

View file

@ -18,6 +18,8 @@
ansible.builtin.command: /tmp/sh.rustup.rs -y
- name: Install cargo packages
environment:
PATH: "${PATH}:~/.cargo/bin"
community.general.cargo:
name:
- git-delta