Files
JFrog-Cloud-Installers/Ansible/collection/jfrog/ansible/roles/postgres

postgres

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

Role Variables

  • db_users: This is a list of database users to create. eg. db_users: - { db_user: "artifactory", db_password: "Art1fAct0ry" }
  • dbs: This is the database to create. eg. dbs: - { db_name: "artifactory", db_owner: "artifactory" }

Example Playbook

---
- hosts: database
  roles:
    - postgres