A series of Ansible scripts to manage my infrastructure.
Go to file
Salt 161d2f7be4 Mandate that DNS be set up as part of machine deployment
Machines should NOT have the ability to modify DNS of their own volition. Like wtf past me
2020-10-17 01:19:55 -05:00
.templates Fix template 2020-10-17 00:27:46 -05:00
contrib Working on basics 2020-10-17 00:21:57 -05:00
inventory Taking a dump 2020-10-17 01:00:06 -05:00
roles Add READMEs to roles 2020-10-17 01:16:10 -05:00
.gitignore Remove build directory from gitignore 2020-02-26 18:56:29 -06:00
ansible.cfg Working on basics 2020-10-17 00:21:57 -05:00
README.md Mandate that DNS be set up as part of machine deployment 2020-10-17 01:19:55 -05:00
site.yml Taking a dump 2020-10-17 01:00:06 -05:00

Salt's Ansible Repository

Useful for management across all of 9iron, thefuck, and desu.

Deployment

Adding a new server will require the following be fulfilled:

  • The server is accessible from the Ansible host;

  • The server has a user named ansible which:

    • Accepts the public key located in contrib/desu.pub; and

    • Has passwordless sudo capabilities as root

  • The server is added to inventory/hosts.yml in an appropriate place;

  • DNS records for the machine are set; and

  • The server is running Ubuntu 18.04 or greater (20.04 recommended)

From there, running the playbook site.yml should get the machine up to snuff. To automate the host-local steps, use the script file contrib/bootstrap.sh.