This repo contains configuration and code to deploy Noisebridge infrastrucutre.
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).
This repo includes git submodules to vendor external source. You need to update them with this helper command.
./update-submodules.sh
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
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.
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
See https://discuss.noisebridge.info/c/guilds/rack for guidance, specifically the sticky.