https://github.com/mrlesmithjr/ansible-postgresql
Enter description of Ansible role
https://github.com/mrlesmithjr/ansible-postgresql
ansible ansible-role
Last synced: about 1 year ago
JSON representation
Enter description of Ansible role
- Host: GitHub
- URL: https://github.com/mrlesmithjr/ansible-postgresql
- Owner: mrlesmithjr
- License: mit
- Created: 2016-01-26T00:47:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-21T13:58:57.000Z (over 4 years ago)
- Last Synced: 2025-03-24T06:51:49.336Z (over 1 year ago)
- Topics: ansible, ansible-role
- Language: Jinja
- Size: 123 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ansible-postgresql
An [Ansible](https://www.ansible.com) role to install/configure [Postgresql](https://www.postgresql.org/)
## Build Status
### GitHub Actions

### Travis CI
[](https://travis-ci.org/mrlesmithjr/ansible-postgresql)
## Requirements
For any required Ansible roles, review:
[requirements.yml](requirements.yml)
If setting up replication:
`defaults/main.yml`
```yaml
postgresql_config: true
postgresql_enable_replication: true
postgresql_listen_addresses:
- "*"
postgresql_replication:
interface: enp0s8
master: "{{ groups[postgresql_replication_group][0] }}"
user: repluser
postgresql_replication_group: postgres_replication
```
## Role Variables
[defaults/main.yml](defaults/main.yml)
## Dependencies
## Example Playbook
[playbook.yml](playbook.yml)
## License
MIT
## Author Information
Larry Smith Jr.
- [@mrlesmithjr](https://twitter.com/mrlesmithjr)
- [mrlesmithjr@gmail.com](mailto:mrlesmithjr@gmail.com)
- [http://everythingshouldbevirtual.com](http://everythingshouldbevirtual.com)
> NOTE: Repo has been created/updated using [https://github.com/mrlesmithjr/cookiecutter-ansible-role](https://github.com/mrlesmithjr/cookiecutter-ansible-role) as a template.