{"id":18338735,"url":"https://github.com/tableflip/tune-infrastructure","last_synced_at":"2026-01-22T12:03:00.106Z","repository":{"id":72911189,"uuid":"55073640","full_name":"tableflip/tune-infrastructure","owner":"tableflip","description":":trumpet: :floppy_disk: Infrastructure project for Tune","archived":false,"fork":false,"pushed_at":"2016-11-22T16:43:54.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T12:46:43.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nginx","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tableflip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-30T15:15:52.000Z","updated_at":"2016-11-28T12:14:52.000Z","dependencies_parsed_at":"2023-05-26T01:15:32.168Z","dependency_job_id":null,"html_url":"https://github.com/tableflip/tune-infrastructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftune-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftune-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftune-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tableflip%2Ftune-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tableflip","download_url":"https://codeload.github.com/tableflip/tune-infrastructure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248108345,"owners_count":21049116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T20:15:02.577Z","updated_at":"2026-01-22T12:03:00.074Z","avatar_url":"https://github.com/tableflip.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TUNE Infrastructure\n\n**Ansible scripts for deploying and maintaining tune.tableflip.io**\n\n```sh\n├── group_vars         # Config options\n├── dev                # Inventory for local vm\n├── next               # Inventory for staging vm\n├── production         # Inventory for LIVE vm\n├── roles              # Tasks, grouped by purpose\n├── bootstrap.yml      # Playbook to get a fresh vm ready for Ansible\n├── deploy-app.yml     # Playbook to deploy \u0026 update the app\n└── Vagrantfile        # Test the scripts locally with `vagrant up`\n```\n\n## Prerequisites\n\nYou need to add a `secrets.yml` file into `group_vars/all`.\n\nThis file contains all of the secrets for the deployments that we'd prefer not to keep in the repo.\n## Usage\n\n**To bootstrap a local test server with vagrant**\n\n- Install Ansible\n- Install Vagrant (`brew install vagrant`)\n- Add `10.100.112.100\tdev.tune.tableflip.io` to your local `/etc/hosts`\n\n```sh\n# Download and provision a vm\nvagrant up\n\n# Update vm with our roles\nansible-playbook -i dev deploy-app.yml\n```\n\nYou now have a test vm, running locally\n\n**To bootstrap a new production vm**\n\n- Add the new remote to the relevant inventory\n- Add your public ssh key in `/root/.ssh/authorized_keys` on the remote\n\n```sh\n# bootstrap ansible user\nansible-playbook -i production bootstrap.yml --extra-vars \"ansible_user=root\"\n\n# Intall app and dependencies\nansible-playbook -i production deploy-app.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftune-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftableflip%2Ftune-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftableflip%2Ftune-infrastructure/lists"}