{"id":16761827,"url":"https://github.com/angristan/ansible-postgresql","last_synced_at":"2026-05-11T07:32:23.694Z","repository":{"id":153244670,"uuid":"171016982","full_name":"angristan/ansible-postgresql","owner":"angristan","description":"Ansible role for PostgreSQL","archived":false,"fork":false,"pushed_at":"2020-04-22T18:24:32.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T15:27:14.120Z","etag":null,"topics":["ansible","debian","postgres","postgresql","ubuntu"],"latest_commit_sha":null,"homepage":null,"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/angristan.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}},"created_at":"2019-02-16T15:11:56.000Z","updated_at":"2021-07-22T20:23:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"9dcaabd3-7f62-4f60-b41b-76b85b8457b1","html_url":"https://github.com/angristan/ansible-postgresql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angristan/ansible-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angristan","download_url":"https://codeload.github.com/angristan/ansible-postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-postgresql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266801380,"owners_count":23986371,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ansible","debian","postgres","postgresql","ubuntu"],"created_at":"2024-10-13T04:43:33.556Z","updated_at":"2026-05-11T07:32:18.661Z","avatar_url":"https://github.com/angristan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible role for PostgreSQL\n\nThis is a simple role that will install PostgreSQL and handle users, databases and configuration.\n\nThe role should work on all Debian-based distributions.\n\nBy default, the role will install PostgreSQL 11 from the [PGDG APT repository](https://wiki.postgresql.org/wiki/Apt). You can set a version with `postgresql_version`.\n\n## Sample playbook\n\n```yaml\n---\n\n- hosts: myhost\n  roles:\n    - name: postgresql\n      tags: postgresql\n  vars:\n    postgresql_version: 11\n    postgresql_install_from_pgdg: true\n    postgresql_options:\n      - {key: listen_addresses, value: \"'*'\"}\n      - {key: max_connections, value: 200}\n      - {key: shared_buffers, value: 1GB}\n    postgresql_databases:\n      - name: blog\n    postgresql_users:\n      - name: blog\n        password: \"{{ vault_postgresql_password_blog }}\"\n        db: blog\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Fansible-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangristan%2Fansible-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Fansible-postgresql/lists"}