Ansible config that powers http://demo.inbucket.org
- Install ansible and dependencies (see
shell.nix
) ansible-galaxy collection install community.general
git clone https://github.com/inbucket/demo.inbucket.org
cd demo.inbucket.org
- Create a GCP project, and enable the compute engine API
- Add your SSH key to the project to permit ansible VM access
- Create a service account with Compute Admin role
- Create & download JSON credentials from Service Account
keys
tab - Place JSON credentials for the account into
gcp-credentials.json
- Update
production.yml
to reflect your desired GCP project ID, region, and zone. - Run
./apply-production
- Use VM instances to find the External IP for
inbucket-demo-vm
See also: http://inbucket.org/