cyverse/gateone-server-ansible

Name: gateone-server-ansible

Owner: CyVerse

Description: This repo provides the ansible playbook and role needed to install gateone

Created: 2015-11-09 18:41:27.0

Updated: 2018-05-22 17:34:00.0

Pushed: 2018-05-22 17:33:59.0

Homepage: null

Size: 10

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

gateone-server-ansible

This repo provides the ansible playbook and role needed to install gateone. To use this with your ansible, you should link role into the roles directory. By default, the roles directory is /etc/ansible/roles. You'll also need to define a few variables. Currently, this playbook and role assumes Ubuntu. With a little effort, other distros could be supported.

Installation
  1. git clone gateone-server-ansible repo (e.g. into /opt/gateone-server-ansible)
  2. Assuming roles is in /etc/ansible/roles, ln -s /opt/gateone-server-ansbile/ /etc/ansible/roles/
  3. Define the host(s) into /etc/ansible/hosts (or wherever your hosts file is configured for). The playbook assumes the server(s) are defined in the host group called “gateone-servers”.
  4. Define the following variables, generally in the hosts file or group_vars:
  5. GATEONE_REPO: location of the gateone repo
  6. GATEONE_CONFIG_REPO: location of the config repo
  7. SSH_HOST_SRC: directory containing ssl certs
  8. SSH_HOST_KEY: ssl key file name
  9. SSH_HOST_CERT: ssl cert file name
  10. UFW_DO_CONFIGURE: boolean whether to configure ufw or not
  11. UFW_INCOMING_ALLOW: array of dictionary items containing ip and ports to allow incoming (each array element has an ip and port to allow incoming). UFW is executed only if UFW_DO_CONFIGURE is true
  12. UFW_OUTGOING_ALLOW: array of dictionary items containing ip and ports to allow outgoing, similar to UFW_INCOMING_ALLOW. UFW is executed only if UFW_DO_CONFIGURE is true.
  13. the gateone server should start after the playbook is executed, assuming the configuration is correct
Other notes

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.