A series of Ansible scripts to manage my infrastructure.
Go to file
2021-01-18 20:29:00 -06:00
.templates Move template to .templates directory 2020-05-20 12:18:46 -05:00
inventory Update ansible pull repo url 2021-01-18 20:29:00 -06:00
playbooks Remove desu.ltd from web1 2020-12-18 01:53:48 -06:00
roles Remove hard dep on python-is-python3 2020-12-18 01:42:14 -06:00
.gitignore Remove build directory from gitignore 2020-02-26 18:56:29 -06: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 Disable influxdb and telegraf 2021-01-18 20:26:37 -06: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.