Skip to content

Ansible playbook for shared infrastructure

License

Notifications You must be signed in to change notification settings

RoboJackets/web-app-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-app-platform

Ansible playbook for shared infrastructure

Prerequisites

  • A Red Hat Enterprise Linux 9 host - request one from OIT here
  • Ansible - see install guide here

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: gburdell3@gatech.edu
      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