Skip to content

Latest commit

 

History

History
86 lines (58 loc) · 1.51 KB

README.md

File metadata and controls

86 lines (58 loc) · 1.51 KB

Chat Deploy - Ansible

Ansible configuration management for standing up a complete Oberon stack

See oberon.im for more details about the application.

About

Oberon runs on top of:

  • Ubuntu 16.04
  • PostgreSQL
  • LetsEncrypt for SSL
  • Nginx

Installation

Note: Target architecture is Ubuntu 16.04.

Initial Setup

Follow the Ansible Installation Guide to install the latest version of Ansible locally.

Clone the project locally:

$ git clone [email protected]:oberon-chat/chat-deploy.git
$ cd chat-deploy

Copy the inventory file and update the values:

$ cp hosts/production.example hosts/production
$ vim hosts/production

Copy group var files:

$ cp group_vars/all.yml.example group_vars/all.yml
$ cp group_vars/client.yml.example group_vars/client.yml
$ cp group_vars/server.yml.example group_vars/server.yml

(Optional) Review and update group var values:

$ vim group_vars/all.yml
$ vim group_vars/client.yml
$ vim group_vars/server.yml

Transfer and run the bootstrap script for each remote host:

$ scp bin/bootstrap example.com:~/
$ ssh example.com "./bootstrap"

Confirm ansible can connect and run on the host:

$ bin/ping

Running Playbooks

To configure the client and server run:

$ bin/configure

Review and update configuration values:

$ vim configs/client
$ vim configs/server

Build and deploy the server:

$ bin/install