This repo contains all my ansible configuration code for my home lab servers and workstation.
ssh
: setups secure ssh configuration and with public key authenticationwireguard
: installs wireguard in docker container with nginx reverse proxy and downloads generated peer configsadguardhome
: deploys local adguardhomeansible-pull
: setups ansible-pull cron job which pulls and runs this playbook conf.haproxy
: installs haproxy as a LB with a template configuration filefirewall
: setups simple firewalld/ufwfedora
: personal workstation setup
Default variable values for each role, with examples, are present in each role's defaults
folder.
automatic-updates.yml
: enables automatic unattended updates for Debian/RedHat based linuxinstall-software.yml
: install packages and ansible dependencies
The requirements.yml
file contains all the necessary collections and role dependencies.
Dependencies can be installed by running (for ansible v2.9+):
ansible-galaxy collection install -r requirements.yml
This repo contains example files for using these roles:
server.yml
ansible.cfg
- fedora workstation setup -
fedora.yml
- ansible 2.9+
- python 3
- Fedora Workstation role
- Fix dotfiles git pull
- Add ~/.bin links to /usr/local/bin/