Files
JFrog-Cloud-Installers/Ansible/ansible_collections/jfrog/platform/roles/postgres
2021-08-17 09:43:00 +05:30
..
2021-05-10 13:21:22 +05:30
2021-05-10 13:21:22 +05:30
2021-05-10 13:21:22 +05:30
2021-05-10 13:21:22 +05:30
2021-05-10 13:21:22 +05:30

postgres

The postgres role will install Postgresql software and configure a database and user to support an Artifactory or Xray server.

Role Variables

By default, the pg_hba.conf client authentication file is configured for open access for development purposes through the postgres_allowed_hosts variable:

postgres_allowed_hosts:
  - { type: "host", database: "all", user: "all", address: "0.0.0.0/0", method: "trust"}

THIS SHOULD NOT BE USED FOR PRODUCTION.

Update this variable to only allow access from Artifactory, Distibution, MissionControl and Xray.

Example Playbook

---
- hosts: postgres_servers
  roles:
    - postgres