dotfiles.yml: Git clone dotfiles repo to$HOMEand create symlinks with stowessential.yml: Update & upgrade packages, check and reboot if needed, set hostname, timezone, swappiness, ipv4.ip_forwardnetworking.yml: Copy host-specific$HOSTNAME.interfacesfile and restart/reload networking stackqemu.yml: Add iommu kernel params, acs override patch, blacklisted devices on host and install guest agent if on VMrpi.yml: Upgrade EEPROM and set up Ethernet over USB type C for Raspberry Piserial.yml: Enable serial console through grub configssh.yml: Copy public key, disable password/root loginuser.yml: Set user shell, groups and enable passwordless sudo
ansible-galaxy install -r requirements.yml
Put host config file in host_vars/
Put inventory file here
ansible-playbook playbook.yml -i inventory -K
with -e target_host=YOUR_TARGET_HOST to specify override target, and no need to enter password if the configured user has passwordless sudo access