{"id":19472360,"url":"https://github.com/aboutbits/ansible-atlantis","last_synced_at":"2025-09-09T12:44:36.837Z","repository":{"id":58625442,"uuid":"531830398","full_name":"aboutbits/ansible-atlantis","owner":"aboutbits","description":"Ansible - Atlantis Role","archived":false,"fork":false,"pushed_at":"2024-06-04T09:41:19.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T22:01:37.606Z","etag":null,"topics":["ansible","ansible-role","atlantis"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/aboutbits.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":"2022-09-02T07:44:06.000Z","updated_at":"2024-10-03T15:20:15.000Z","dependencies_parsed_at":"2024-02-27T11:29:19.558Z","dependency_job_id":"92495eee-a5c8-4e5a-befc-13025a55a728","html_url":"https://github.com/aboutbits/ansible-atlantis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-atlantis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-atlantis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-atlantis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fansible-atlantis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutbits","download_url":"https://codeload.github.com/aboutbits/ansible-atlantis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250817627,"owners_count":21492187,"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":["ansible","ansible-role","atlantis"],"created_at":"2024-11-10T19:14:12.972Z","updated_at":"2025-09-09T12:44:36.591Z","avatar_url":"https://github.com/aboutbits.png","language":"Jinja","readme":"# Ansible Atlantis Role\n\nA role to install and configure Atlantis.\n\n## Requirements\n\n- Docker and Docker Compose\n\n## Role Variables\n\n- `atlantis_docker_tag`: The Docker tag that should be used (Optional).\n- `atlantis_server_port`: Atlantis server port (Optional).\n- `atlantis_env_file`: The name of the Atlantis environment template file (Optional). This file contains all environment variables for Atlantis and Terraform.\n\n## Environment variables\n\nSome configurations are required by Atlantis to be passed using environment variables. Some of these required variables are `ATLANTIS_ATLANTIS_URL` and `ATLANTIS_REPO_ALLOWLIST`.\n\nIn addition, you also have to provide the configuration and credentails for your desired Git host. Please take a look at the documentation for further details:\n  - [Git Host Access Credentials](https://www.runatlantis.io/docs/access-credentials.html)\n  - [Webhook Secrets](https://www.runatlantis.io/docs/webhook-secrets.html)\n  - [Configuring Webhooks](https://www.runatlantis.io/docs/configuring-webhooks.html)\n\nLast, configure the provider credentials so Atlantis can actually run Terraform commands.\n\nAn example of such an environment variable file could be:\n\n```bash\nATLANTIS_ATLANTIS_URL={{ atlantis['url'] }}\nATLANTIS_REPO_ALLOWLIST={{ atlantis['allowed_repos'] }}\nATLANTIS_REPO_CONFIG_JSON={\"repos\":[{\"id\":\"/.*/\",\"apply_requirements\":[\"approved\",\"mergeable\"],\"allowed_overrides\":[\"apply_requirements\",\"workflow\",\"delete_source_branch_on_merge\"],\"allow_custom_workflows\":true,\"delete_source_branch_on_merge\":true}]}\n\nATLANTIS_GH_USER={{ atlantis['github']['user'] }}\nATLANTIS_GH_TOKEN={{ atlantis['github']['token'] }}\nATLANTIS_GH_WEBHOOK_SECRET={{ atlantis['github']['webhook_secret'] }}\n\nDIGITALOCEAN_TOKEN={{ atlantis['digitalocean']['api_key'] }}\nAWS_ACCESS_KEY_ID={{ atlantis['terraform']['aws']['access_key_id'] }}\nAWS_SECRET_ACCESS_KEY={{ atlantis['terraform']['aws']['secret_access_key'] }}\n```\n\nThe variables within the brackets are Ansible variables. You could store these secrets for example using Ansible Vault.\n\n## Example Playbook\n\n```yaml\n- hosts: all\n  tasks:\n    - ansible.builtin.include_role:\n        name: ansible-atlantis\n      vars:\n        atlantis_docker_tag: v0.27.1\n        atlantis_server_port: 4141\n        atlantis_env_file: atlantis_env.j2\n```\n\n## Build \u0026 Publish\n\nTo build and publish the role, visit the GitHub Actions page of the repository and trigger the workflow \"Release Package\" manually.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-atlantis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutbits%2Fansible-atlantis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fansible-atlantis/lists"}