This should allow just having a general 'target' system for ansible which will take all the modifications - but not care whether we connect to it locally (i.e. running from void) or through chroot. We can set the connection method for the specific system(s) in whatever we group as part of the target group then. For local installation we simply add locally connected hosts and for chroot set up chrooted hosts.
107 lines
1.7 KiB
YAML
107 lines
1.7 KiB
YAML
hostsystem:
|
|
hosts:
|
|
127.0.0.1:
|
|
ansible_connection: local
|
|
|
|
chroot_target:
|
|
hosts:
|
|
void:
|
|
ansible_host: /mnt/void
|
|
ansible_connection: community.general.chroot
|
|
ansible_chroot_exe: arch-chroot
|
|
desired_package_state: latest
|
|
|
|
local_target:
|
|
hosts:
|
|
void:
|
|
ansible_host: 127.0.0.1
|
|
desired_package_state: latest
|
|
|
|
target_system:
|
|
children:
|
|
chroot_target:
|
|
|
|
interface:
|
|
hosts:
|
|
void:
|
|
vars:
|
|
packages_fonts:
|
|
- nerd-fonts-otf
|
|
- noto-fonts-ttf
|
|
- noto-fonts-cjk
|
|
- noto-fonts-emoji
|
|
packages_terminal:
|
|
- abduco
|
|
- atuin
|
|
- autofs
|
|
- bat
|
|
- bc
|
|
- bottom
|
|
- brightnessctl
|
|
- chafa
|
|
- docker
|
|
- docker-compose
|
|
- docx2txt
|
|
- duf
|
|
- dust
|
|
- entr
|
|
- eza
|
|
- fd
|
|
- flavours
|
|
- fwupd
|
|
- gallery-dl
|
|
- git-lfs
|
|
- htop
|
|
- iftop
|
|
- jrnl
|
|
- khal
|
|
- khard
|
|
- moreutils
|
|
- msmtp
|
|
- neomutt
|
|
- neovim
|
|
- newsboat
|
|
- nushell
|
|
- papis
|
|
- pass
|
|
- pdftk
|
|
- podman
|
|
- restic
|
|
- ripgrep
|
|
- sc-im
|
|
- starship
|
|
- swaybg
|
|
- swayidle
|
|
- task
|
|
- tasksh
|
|
- tectonic
|
|
- thermald
|
|
- timewarrior
|
|
- topgrade
|
|
- uv
|
|
- vdirsyncer
|
|
- vifm
|
|
- visidata
|
|
- wezterm
|
|
- wlopm
|
|
- wlsunset
|
|
- wtype
|
|
- yt-dlp
|
|
- zk
|
|
- zoxide
|
|
- zr # zsh plugin manager
|
|
- zsh
|
|
packages_de:
|
|
- bemenu
|
|
- pinentry-bemenu
|
|
- clipman
|
|
- grim
|
|
- kanshi
|
|
- mako
|
|
- slurp
|
|
- waylock
|
|
packages_gui:
|
|
- gimp
|
|
- qutebrowser
|
|
- sioyek
|
|
- wdisplays
|