Ansible playbook for shared infrastructure
You do not need Nomad or Consul installed locally, but they may be helpful.
Set up an inventory file like so:
---
ungrouped:
hosts:
bcdc1:
# ansible_host is assumed to be an IP address in several places
ansible_host: 1.2.3.4
ansible_user: gburdell3
ansible_become: true
datacenter: bcdc
node_name: bcdc1
region: campus
owner_contact_name: George Burdell
owner_contact_email: [email protected]
acme_server: letsencrypt_test
fully_qualified_domain_name: bcdc1.gatech.edu
datacenter_tag_color: "#002FFF"
dns_resolvers:
# these are the OIT-managed recursive resolvers, aka brahmas
# this list is join()'ed and passed to the resolver directive in nginx; you can add additional config if you'd like
- 130.207.244.251
- 130.207.244.244
- 128.61.244.254
meilisearch_versions:
- 1.1
- 1.2
- 1.3
Run the playbook like so:
ansible-playbook playbook.yml