update ansible files
This commit is contained in:
parent
992eea1a2e
commit
5969895920
20 changed files with 223 additions and 26 deletions
8
ansible/roles/packages/tasks/defaults.yml
Normal file
8
ansible/roles/packages/tasks/defaults.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
- name: install apt
|
||||
include_tasks: "./scripts/install_apt.yml"
|
||||
|
||||
- name: install flatpak
|
||||
include_tasks: "./scripts/install_flatpak.yml"
|
||||
|
||||
- name: install brew
|
||||
include_tasks: "./scripts/install_brew.yml"
|
||||
11
ansible/roles/packages/tasks/main.yml
Normal file
11
ansible/roles/packages/tasks/main.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- name: Load a variable file
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||||
- "vars/{{ ansible_distribution }}.yml"
|
||||
- "vars/{{ ansible_os_family }}.yml"
|
||||
- "vars/defaults.yml"
|
||||
|
||||
- name:
|
||||
include_tasks: "defaults.yml"
|
||||
|
||||
29
ansible/roles/packages/vars/Pop!_OS-22.04.yml
Normal file
29
ansible/roles/packages/vars/Pop!_OS-22.04.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
install_homebrew_if_missing: true
|
||||
|
||||
required_packages_brew:
|
||||
- lazygit
|
||||
- fzf
|
||||
- glab
|
||||
- go
|
||||
- neovim
|
||||
- oh-my-posh
|
||||
- tpm
|
||||
- terraform
|
||||
- kubernetes-cli
|
||||
- zsh-autosuggestions
|
||||
|
||||
apt_keys:
|
||||
- https://packages.microsoft.com/keys/microsoft.asc
|
||||
apt_repo:
|
||||
- deb [arch=amd64] https://packages.microsoft.com/ubuntu/22.04/prod jammy main
|
||||
|
||||
required_packages_apt:
|
||||
- powershell
|
||||
- curl
|
||||
|
||||
flatpak_remote:
|
||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
||||
required_packages_flatpak:
|
||||
- VSCodium
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue