RoboJackets / web-app-platform

Ansible playbook for shared infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Ansible playbook for shared infrastructure

License:MIT License


Languages

Language:HCL 99.1%Language:HTML 0.9%