{"id":20326578,"url":"https://github.com/davidalger/ansible-role-cloud-sql-proxy","last_synced_at":"2025-04-11T20:06:50.573Z","repository":{"id":145276198,"uuid":"149885887","full_name":"davidalger/ansible-role-cloud-sql-proxy","owner":"davidalger","description":"Ansible Role - Cloud SQL Proxy","archived":false,"fork":false,"pushed_at":"2023-09-12T08:23:03.000Z","size":8,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T20:06:43.644Z","etag":null,"topics":["ansible","cloudsql","googlecloud","mysql","postgressql","role","system"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/davidalger/cloud_sql_proxy","language":null,"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/davidalger.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}},"created_at":"2018-09-22T14:44:48.000Z","updated_at":"2025-01-19T16:07:26.000Z","dependencies_parsed_at":"2023-05-04T10:00:27.478Z","dependency_job_id":null,"html_url":"https://github.com/davidalger/ansible-role-cloud-sql-proxy","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/davidalger%2Fansible-role-cloud-sql-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidalger%2Fansible-role-cloud-sql-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidalger%2Fansible-role-cloud-sql-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidalger%2Fansible-role-cloud-sql-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidalger","download_url":"https://codeload.github.com/davidalger/ansible-role-cloud-sql-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473127,"owners_count":21109628,"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","cloudsql","googlecloud","mysql","postgressql","role","system"],"created_at":"2024-11-14T19:44:34.261Z","updated_at":"2025-04-11T20:06:50.542Z","avatar_url":"https://github.com/davidalger.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: Cloud SQL Proxy\n\n[![Build Status](https://travis-ci.com/davidalger/ansible-role-cloud-sql-proxy.svg?branch=master)](https://travis-ci.com/davidalger/ansible-role-cloud-sql-proxy)\n\n\nInstalls [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy) on RHEL / CentOS 7 complete with unit scripts to keep `cloud-sql-proxy.service` running.\n\n## Requirements\n\nJust a [Cloud SQL](https://cloud.google.com/sql/docs/) instance for the proxy to connect to.\n\n## Role Variables\n\n    cloud_sql_proxy_connection_name: \u003cproject_id\u003e:\u003cregion\u003e:\u003cinstance_name\u003e\n\nThe connection name for the Cloud SQL instance. See [this page](https://cloud.google.com/sql/docs/mysql/sql-proxy#tips) for more info. An appropriate value for this can be found on the Cloud SQL instance in the Cloud Console.\n\nThis string is also used by the proxy to determine the socket path. Example: When `tf-project-298d32a1:us-central1:tf-master-db1` is used as the connection name, the resulting unix socket will be `/var/run/cloud-sql-proxy/tf-project-298d32a1:us-central1:tf-master-db1`\n\n    cloud_sql_proxy_tcp_port: \u003ctcp_port\u003e\n\nSetting this will cause the Cloud SQL Proxy service to listen on a local TCP port rather than a unix socket.\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n    - hosts: web-servers\n      vars:\n        cloud_sql_proxy_connection_name: tf-project-298d32a1:us-central1:tf-master-db1\n    \n      roles:\n        - { role: davidalger.cloud_sql_proxy, tags: database }\n\n## License\n\nThis work is licensed under the MIT license. See LICENSE file for details.\n\n## Author Information\n\nThis role was created in 2018 by [David Alger](http://davidalger.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidalger%2Fansible-role-cloud-sql-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidalger%2Fansible-role-cloud-sql-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidalger%2Fansible-role-cloud-sql-proxy/lists"}