Skip to content

Commit e5dbb99

Browse files
authored
Merge branch 'jfrog:master' into bugfix/353
2 parents 1cafaa5 + 0419e12 commit e5dbb99

File tree

13 files changed

+35
-13
lines changed

13 files changed

+35
-13
lines changed

Ansible/ansible_collections/jfrog/platform/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# JFrog Platform Ansible Collection Changelog
22
All changes to this collection will be documented in this file.
33

4+
## [10.16.5] - Jan 05, 2024
5+
* Postgres - change to the new location of the RPM GPG key URL. [GH-362](https://github.com/jfrog/JFrog-Cloud-Installers/pull/362)
6+
* Product Updates/fixes
7+
8+
## [10.16.4] - Dec 21, 2023
9+
* Artifactory - Upgrade version when tar is already present [GH-356](https://github.com/jfrog/JFrog-Cloud-Installers/pull/356)
10+
* Product Updates/fixes
11+
412
## [10.16.3] - Dec 6, 2023
513
* Added How to avoid IPv6 binding in Readme [GH-349](https://github.com/jfrog/JFrog-Cloud-Installers/pull/349)
614
* Product Updates/fixes

Ansible/ansible_collections/jfrog/platform/galaxy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace: "jfrog"
99
name: "platform"
1010

1111
# The version of the collection. Must be compatible with semantic versioning
12-
version: "10.16.3"
12+
version: "10.16.5"
1313

1414
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1515
readme: "README.md"

Ansible/ansible_collections/jfrog/platform/roles/artifactory/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Defaults file for artifactory
22

33
# The version of artifactory to install
4-
artifactory_version: 7.71.5
4+
artifactory_version: 7.71.11
55

66
# Set this to true when SSL is enabled (to use artifactory_nginx_ssl role), default to false (implies artifactory uses artifactory_nginx role )
77
artifactory_nginx_ssl_enabled: false

Ansible/ansible_collections/jfrog/platform/roles/artifactory/tasks/upgrade.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,28 @@
5656
path: "{{ jfrog_home_directory }}"
5757
state: directory
5858

59+
- name: Check artifactory version
60+
ansible.builtin.shell: |
61+
set -o pipefail;
62+
grep artifactory.product.version "{{ artifactory_home }}/app/artifactory.product.version.properties" |cut -d= -f2
63+
register: check_version_cmd
64+
changed_when: false
65+
66+
- name: Set running_version
67+
ansible.builtin.set_fact:
68+
running_version: "{{ check_version_cmd.stdout }}"
69+
5970
- name: Delete artifactory app directory
6071
become: true
6172
ansible.builtin.file:
6273
path: "{{ artifactory_home }}/app"
6374
state: absent
64-
when: (download_artifactory.changed) or (unarchived_artifactory.changed)
75+
when: running_version != artifactory_version
6576

6677
- name: Copy new app to artifactory app
6778
become: true
6879
ansible.builtin.command: "cp -r {{ artifactory_untar_home }}/app/. {{ artifactory_home }}/app"
69-
when: (download_artifactory.changed) or (unarchived_artifactory.changed)
80+
when: running_version != artifactory_version
7081
notify: Restart artifactory
7182

7283
- name: Configure artifactory license(s)
@@ -168,4 +179,4 @@
168179
delay: 5
169180
when:
170181
- not ansible_check_mode
171-
- artifactory_start_service | bool
182+
- artifactory_start_service | bool
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# platform collection version
2-
platform_collection_version: 10.16.3
2+
platform_collection_version: 10.16.5
33

44
# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
55
ansible_marketplace: galaxy

Ansible/ansible_collections/jfrog/platform/roles/distribution/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# defaults file for distribution
22

33
# The version of distribution to install
4-
distribution_version: 2.20.3
4+
distribution_version: 2.21.3
55

66
# whether to enable HA
77
distribution_ha_enabled: false
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# platform collection version
2-
platform_collection_version: 10.16.3
2+
platform_collection_version: 10.16.5
33

44
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
55
ansible_marketplace: galaxy

Ansible/ansible_collections/jfrog/platform/roles/insight/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# defaults file for insight
22

33
# The version of insight to install
4-
insight_version: 1.16.2
4+
insight_version: 1.16.5
55

66
# whether to enable HA
77
insight_ha_enabled: false
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# platform collection version
2-
platform_collection_version: 10.16.3
2+
platform_collection_version: 10.16.5
33

44
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
55
ansible_marketplace: galaxy

Ansible/ansible_collections/jfrog/platform/roles/postgres/defaults/main.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ postgres_listen_addresses: 0.0.0.0
77
# Default port of Postgres server
88
postgres_port: 5432
99

10+
# Location of GPG key used to sign the RPMs
11+
postgres_rpmkey_url: "https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL"
12+
1013
# Server version in package:
1114
postgres_server_pkg_version: "{{ postgres_version | replace('.', '') }}"
1215

Ansible/ansible_collections/jfrog/platform/roles/postgres/tasks/RedHat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- name: Import PostgreSQL GPG public key
3838
become: true
3939
ansible.builtin.rpm_key:
40-
key: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
40+
key: "{{ postgres_rpmkey_url }}"
4141
state: present
4242
register: download_postgresql_key
4343
until: download_postgresql_key is success

Ansible/ansible_collections/jfrog/platform/roles/xray/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Defaults file for xray
22

33
# The version of xray to install
4-
xray_version: 3.86.4
4+
xray_version: 3.86.10
55

66
# Whether to enable HA
77
xray_ha_enabled: false
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# platform collection version
2-
platform_collection_version: 10.16.3
2+
platform_collection_version: 10.16.5
33

44
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
55
ansible_marketplace: galaxy

0 commit comments

Comments
 (0)