A series of Ansible scripts to manage my infrastructure.
Go to file
2020-09-02 22:12:47 -05:00
.templates Move template to .templates directory 2020-05-20 12:18:46 -05:00
inventory Add phone to inventory 2020-09-02 17:07:16 -05:00
playbooks Increase TTLs on DNS records to 3600s (from 300s) 2020-08-27 17:40:53 -05:00
roles Fix erroneous OS condition check 2020-09-02 22:12:47 -05:00
.gitignore Remove build directory from gitignore 2020-02-26 18:56:29 -06:00
ansible-pull.cfg Move playbooks to subdir 2020-06-24 06:54:45 -05:00
ansible.cfg Move playbooks to subdir 2020-06-24 06:54:45 -05:00
localhost-deploy.sh Add more package to ansible role on Alpine 2020-09-02 22:04:17 -05:00
provision.yml Switch to OnCalendar for ansible pull setups 2020-08-11 03:51:15 -05:00
README.md Polish up the README 2020-06-24 06:48:08 -05:00
reboot.yml Reboot machines in a less-destructive order 2020-08-23 01:15:18 -05:00
site.yml Move telegraf to its own role 2020-08-30 19:35:18 -05:00

Salt's Ansible Scripts

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

Quickstart

To quickly get a machine up and running, add it to the inventory, role it out, and ./provision.yml it. The playbook assures a sane running environment and then sets up ansible-pull on a timer that immediately triggers. Leave it be, come back 10 minutes later and polish it up as required.

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.

Your Roles are Trash

I know. Please file an issue.