{"id":22845492,"url":"https://github.com/idealista/postgresql_role","last_synced_at":"2026-03-12T07:01:28.658Z","repository":{"id":40269220,"uuid":"235159016","full_name":"idealista/postgresql_role","owner":"idealista","description":"Ansible role to install PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-03-11T14:39:01.000Z","size":356,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":23,"default_branch":"master","last_synced_at":"2026-01-13T21:52:45.272Z","etag":null,"topics":["ansible","ansible-role","centos","database","debian","postgres","postgresql","rhel"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-01-20T17:35:20.000Z","updated_at":"2025-03-11T14:34:28.000Z","dependencies_parsed_at":"2024-03-22T07:45:25.952Z","dependency_job_id":"956125ea-e4d9-428a-b1d3-f0780e745d8c","html_url":"https://github.com/idealista/postgresql_role","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/postgresql_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fpostgresql_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fpostgresql_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fpostgresql_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fpostgresql_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/postgresql_role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fpostgresql_role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30417685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T06:40:58.731Z","status":"ssl_error","status_checked_at":"2026-03-12T06:40:40.296Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","ansible-role","centos","database","debian","postgres","postgresql","rhel"],"created_at":"2024-12-13T03:17:26.339Z","updated_at":"2026-03-12T07:01:28.634Z","avatar_url":"https://github.com/idealista.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/idealista/postgresql_role/master/logo.gif)\n\n[![Build Status](https://travis-ci.com/idealista/postgresql_role.png)](https://travis-ci.com/idealista/postgresql_role)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.postgresql__role-B62682.svg)](https://galaxy.ansible.com/idealista/postgresql_role)\n\n# PostgreSQL Ansible role\n\nThis Ansible role installs an PostgreSQL (10 to 16) in a Debian environment. It has been tested for the following Debian versions:\n\n* Bookworm\n* Bulleye\n* Buster\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install an [PostgreSQL](https://www.postgresql.org/) server in a Debian or RHEL system.\n\n### Prerequisities\nAnsible \u003e=2.9.x.x version installed.\nInventory destination should be a Debian or RHEL environment.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver. Pipenv 2018.11.26 and Python 3 recommended.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.postgresql_role\n  version: 2.0.0\n  name: postgresql\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n---\n- hosts: someserver\n  roles:\n    - { role: postgresql }\n```\n\n## Usage\n\nLook to the [defaults vars](defaults/) and [specific OS related](vars/) files to see all the possible configuration vars.\n*Important note about custom configuration directories*\nWe tried to develop the most flexible role. But, even when it's possible changing the default configuration directory, it's not recommended. This role will respect the Debian/RHEL style when deploying config files and initializing the database directory:\n* in the Debian case, the configuration files will be deployed in /etc/postgresql\n* in the RHEL case, the configuration files will be deployed in the same data directory\n\n## Testing\n\n```\n$ pipenv sync\n$ pipenv run molecule test\n```\n\nSee [molecule.yml](https://github.com/idealista/postgresql_role/blob/master/molecule/default/molecule.yml) to check possible testing platforms.\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-2.9.10-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.0.6-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/postgresql_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](https://github.com/idealista/postgresql_role/blob/master/CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/postgresql_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://github.com/idealista/postgresql_role/blob/master/.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fpostgresql_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fpostgresql_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fpostgresql_role/lists"}