A series of Ansible scripts to manage my infrastructure.
Go to file
2020-08-15 16:02:28 -05:00
.templates Move template to .templates directory 2020-05-20 12:18:46 -05:00
inventory Move Gitea to Postgres 2020-08-15 16:01:56 -05:00
playbooks Add new root directory to Gitea 2020-08-15 05:53:28 -05:00
roles Don't take a DB backup for a DB that doesn't exist, Nextcloud 2020-08-15 16:02:28 -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 Fix closing quote, rename sudoers config 2020-06-16 10:08:12 -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 Add reboot playbook 2020-07-08 04:03:31 -05:00
site.yml Only run influxdb on aws boxes 2020-08-10 06:24:22 -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.