{"id":39331502,"url":"https://github.com/operations-project/site-runner-example-app","last_synced_at":"2026-01-18T02:02:46.297Z","repository":{"id":322643926,"uuid":"1090318284","full_name":"operations-project/site-runner-example-app","owner":"operations-project","description":"An example repo containing server configuration and app code for a Drupal site runner. ","archived":false,"fork":false,"pushed_at":"2025-12-22T13:15:01.000Z","size":138,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T16:55:56.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/operations-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-05T14:05:25.000Z","updated_at":"2025-12-22T13:33:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/operations-project/site-runner-example-app","commit_stats":null,"previous_names":["operations-project/site-runner-example-app"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/operations-project/site-runner-example-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fsite-runner-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fsite-runner-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fsite-runner-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fsite-runner-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operations-project","download_url":"https://codeload.github.com/operations-project/site-runner-example-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operations-project%2Fsite-runner-example-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-18T02:02:45.775Z","updated_at":"2026-01-18T02:02:46.288Z","avatar_url":"https://github.com/operations-project.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Site Runner App Template\n\nAn example repo containing server configuration and app code.\n\n## Instructions\n\nThis repo was setup in concert with writing the instructions from https://github.com/operations-project/ansible-collection-site-runner/tree/feature/how-to?#how-to\n\n## Variables\n\nTo get started you need the following bits of info.\n\n- Server Hostname. Use a FQDN with a DNS record for ease of use.\n- GitHub usernames of your server admins.\n- Name of your app repository.\n- A GitHub token with repo admin privileges. Used for creating self-hosted runners.\n\nTo set this up for your own host, just copy this repo and change the following files in the [`ansible`](./ansible) directory:\n\n- [`hosts`](./ansible/hosts) - Define server hostname. Defines your Ansible inventory. See [Ansible Documentation](https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html).\n  ```ini\n  [operations_host_ddev]\n  server.mydomain.com ansible_connection=local\n  ```\n- [`group_vars/all.yml`](./ansible/group_vars/all.yml) - Define server admins. Add github usernames.\n  ```yml\n  operations_admin_users:\n  - jonpugh\n  ```\n- [`host_vars/server.mydomain.com.yml`](./ansible/host_vars/server.mydomain.com.yml) - Define which repos go on the server. Rename to match your hostname.\n  ```yml\n  operations_github_runners:\n  - runner_repo: operations-project/site-runner-example-app\n  ```\n\nSet the secret variable `operations_github_api_token` to the GitHub token using your preferred secrets management tools.\n\nFor example, to use github secrets, you can pass it on the command line in your workflow file:\n```\nansible-playbook --extra-vars operations_github_api_token=${{ secrets.REPO_ADMIN_TOKEN }}\n```\n\nSee [`server.test.yml`](./.github/workflows/server.yml#53)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperations-project%2Fsite-runner-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperations-project%2Fsite-runner-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperations-project%2Fsite-runner-example-app/lists"}