[Ansible] JFrog Platform 7.21.12 (#145)

This commit is contained in:
Ram Mohan Rao Chukka
2021-07-30 11:35:39 +05:30
committed by GitHub
parent 6f3325a116
commit 60b0620387
12 changed files with 158 additions and 129 deletions

View File

@@ -88,6 +88,25 @@ All JFrog product roles support software updates. To use a role to perform a sof
- xray
```
## Using External Database
If an external database for one or more products is to be used, you don't need to run `postgres` role as part of platform.yml.This can also be done by setting `postgres_enabled` should be set to `false` in `group_vars/all/vars.yml`
Create an external database as documented [here](https://www.jfrog.com/confluence/display/JFROG/PostgreSQL#PostgreSQL-CreatingtheArtifactoryPostgreSQLDatabase) and change corresponding product values in `group_vars/all/vars.yml`
For example, for artifactory, these below values needs to be set for using external postgresql
```
postgres_enabled: false
artifactory_db_type: postgresql
artifactory_db_driver: org.postgresql.Driver
artifactory_db_name: <external_db_name>
artifactory_db_user: <external_db_user>
artifactory_db_password: <external_db_pasword>
artifactory_db_url: jdbc:postgresql://<external_db_host_ip>:5432/{{ artifactory_db_name }}
```
## Building the Collection Archive
1. Go to the ansible_collections/jfrog/platform directory.
2. Update the galaxy.yml meta file as needed. Update the version.