https://github.com/duologic/ansible-role-postgresql_repository
Ansible role to install the official Postgresql repositories
https://github.com/duologic/ansible-role-postgresql_repository
Last synced: 24 days ago
JSON representation
Ansible role to install the official Postgresql repositories
- Host: GitHub
- URL: https://github.com/duologic/ansible-role-postgresql_repository
- Owner: Duologic
- License: mit
- Created: 2019-01-29T13:38:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T17:10:14.000Z (over 7 years ago)
- Last Synced: 2025-03-22T10:49:51.453Z (about 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Duologic.postgresql_repository
==============================
[](https://travis-ci.org/Duologic/ansible-role-postgresql_repository)
This role install the official Postgresql repositories. Tested on CentOS 7 and Ubuntu 18.04/Bionic. This role sets facts for use in [geerlingguy.postgresql](https://github.com/geerlingguy/ansible-role-postgresql).
Role Variables
--------------
postgres_repo_version: '11'
The [defaults](defaults/main.yml) use the `ansible_*` variables to find the platform and architecture.
The YUM repository matrix in [vars/yum.yml](vars/yum.yml) is scraped from the Postgresql website and transformed into a YAML file with PyYaml and `generate_yum_yaml.py`.
Example Playbook
----------------
```
- hosts: servers
become: yes
roles:
- { role: Duologic.postgresql_repository, postgres_repo_version: '11' }
```
License
-------
MIT
Author Information
------------------
Jeroen Op 't Eynde, jeroen@simplistic.be