2020-10-17 00:21:57 -05:00
# Salt's Ansible Repository
Useful for management across all of 9iron, thefuck, and desu.
2020-10-28 22:42:11 -05:00
## Initialization
* Clone the repo, `cd` in
* `ansible-galaxy install -r roles/requirements.yml`
2020-10-17 00:21:57 -05:00
## 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
2020-10-17 01:19:55 -05:00
* The server is added to `inventory/hosts.yml` in an appropriate place;
* DNS records for the machine are set; and
2020-10-17 00:21:57 -05:00
* 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` .