A series of Ansible scripts to manage my infrastructure.
Go to file
Salt 19e8e7cfae Add deploy script
NAH FUCK THAT WE STICK THE ARG IN A SHELL SCRIPT AND FORGET ABOUT IT
2020-10-26 18:31:22 -05:00
.templates Move template to .templates directory 2020-05-20 12:18:46 -05:00
inventory Simplify hosts designation for thefuck.how 2020-10-11 20:01:03 -05:00
playbooks Bump max players on thefuck 2020-10-11 20:50:29 -05:00
roles Add includes for gitweb 2020-10-18 23:23:00 -05:00
.gitignore Remove build directory from gitignore 2020-02-26 18:56:29 -06:00
ansible-pull.cfg Tune configs 2020-10-08 20:44:02 -05:00
ansible.cfg Stop asking for vault password 2020-10-26 18:29:54 -05:00
deploy.sh Add deploy script 2020-10-26 18:31:22 -05:00
localhost-deploy.sh Add libffi-dev to required packages in localhost-deploy 2020-09-04 06:37:31 -05:00
provision.yml Switch to OnCalendar for ansible pull setups 2020-08-11 03:51:15 -05:00
README.md Update README 2020-10-14 07:16:42 -05:00
reboot.yml Reboot machines in a less-destructive order 2020-08-23 01:15:18 -05:00
site.yml Integrate thefuck.how into playbooks 2020-10-11 20:04:43 -05:00

Salt's Ansible Repo

A collection of Ansible configuration to manage all of my machines.

Quickstart

To quickly get a machine up and running, add it to the inventory and ./provision.yml it. This ensures a basic, sane running environment from which you can do tuning. Ideally, though, you should have roles.

Overview

The main playbook, site.yml, can be separated into more or less two parts:

  • The home machine half, tied together via Zerotier

  • The 9iron half, with public IPs and resolvable names

See inventory/hosts.yml for details on what machines have what roles and what configuration. I try my best to make self-explaning configuration, so everything should mostly make sense on a first read. If you have any questions, hit me up.

Style Guide

  • Quote strings when required, quote entire strings if they contain Jinja markup, not just the marked up section (yes I know I violate this in several places)

  • Use yes and no for booleans

  • Use short form for simple tasks (still working on fixing that up)

Your Shit is Trash

I know. Please file an issue.