tylermaran / infrastructure

The Noisebridge Infrastucture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noisebridge Infrastructure

This repo contains configuration and code to deploy Noisebridge infrastrucutre.

Ansible

Much of the code here is the Noisebridge infrastucture Ansible configuration. Ansible is used to automatically deploy configuration to the various nodes (VMs and hardware in the space).

Submodules

This repo includes git submodules to vendor external source. You need to update them with this helper command.

./update-submodules.sh

Deployment

Deploying the entire thing should be possible with just one command:

ansible-playbook site.yml

Usually, you will want to limit your deployment to specific host groups:

ansible-playbook site.yml --limit noisebridge_net

You can be even more specific, for example, this deploys only to the noisebridge_net roles tagged website:

ansible-playbook site.yml --limit noisebridge_net -t website

Ansible Vault

Some data is encrypted so that secrets (ie people's email addresses) aren't public. To edit files with secrets, first put the ansible vault password in a .vault-password file in the root directory of the git repo, then run:

ansible-vault edit path/to/secrets.yml

To get the vault password, check https://www.noisebridge.net/wiki/Accounts to see who has it.

Remote access to .noise

In order to deploy to machines remotely, you will need to configure a bastion bouncer.

In your ~/.ssh/config add the folowing.

Host *.noise
  User         YOU
  ProxyCommand ssh pegasus.noisebridge.net -W %h:%p

Joining

See https://discuss.noisebridge.info/c/guilds/rack for guidance, specifically the sticky.

About

The Noisebridge Infrastucture

License:GNU General Public License v3.0


Languages

Language:HTML 58.4%Language:PHP 19.4%Language:Shell 12.0%Language:Python 8.5%Language:DIGITAL Command Language 1.5%Language:Makefile 0.4%