File tree Expand file tree Collapse file tree 10 files changed +26
-11
lines changed
Ansible/ansible_collections/jfrog/platform Expand file tree Collapse file tree 10 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 1
1
# JFrog Platform Ansible Collection Changelog
2
2
All changes to this collection will be documented in this file.
3
3
4
+ ## [ 10.16.4] - Dec 21, 2023
5
+ * Artifactory - Upgrade version when tar is already present [ GH-356 ] ( https://github.com/jfrog/JFrog-Cloud-Installers/pull/356 )
6
+ * Product Updates/fixes
7
+
4
8
## [ 10.16.3] - Dec 6, 2023
5
9
* Added How to avoid IPv6 binding in Readme [ GH-349 ] ( https://github.com/jfrog/JFrog-Cloud-Installers/pull/349 )
6
10
* Product Updates/fixes
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace: "jfrog"
9
9
name : " platform"
10
10
11
11
# The version of the collection. Must be compatible with semantic versioning
12
- version : " 10.16.3 "
12
+ version : " 10.16.4 "
13
13
14
14
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
15
15
readme : " README.md"
Original file line number Diff line number Diff line change 1
1
# Defaults file for artifactory
2
2
3
3
# The version of artifactory to install
4
- artifactory_version : 7.71.5
4
+ artifactory_version : 7.71.9
5
5
6
6
# Set this to true when SSL is enabled (to use artifactory_nginx_ssl role), default to false (implies artifactory uses artifactory_nginx role )
7
7
artifactory_nginx_ssl_enabled : false
Original file line number Diff line number Diff line change 56
56
path : " {{ jfrog_home_directory }}"
57
57
state : directory
58
58
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
+
59
70
- name : Delete artifactory app directory
60
71
become : true
61
72
ansible.builtin.file :
62
73
path : " {{ artifactory_home }}/app"
63
74
state : absent
64
- when : (download_artifactory.changed) or (unarchived_artifactory.changed)
75
+ when : running_version != artifactory_version
65
76
66
77
- name : Copy new app to artifactory app
67
78
become : true
68
79
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
70
81
notify : Restart artifactory
71
82
72
83
- name : Configure artifactory license(s)
168
179
delay : 5
169
180
when :
170
181
- not ansible_check_mode
171
- - artifactory_start_service | bool
182
+ - artifactory_start_service | bool
Original file line number Diff line number Diff line change 1
1
# platform collection version
2
- platform_collection_version : 10.16.3
2
+ platform_collection_version : 10.16.4
3
3
4
4
# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
5
5
ansible_marketplace : galaxy
Original file line number Diff line number Diff line change 1
1
# defaults file for distribution
2
2
3
3
# The version of distribution to install
4
- distribution_version : 2.20 .3
4
+ distribution_version : 2.21 .3
5
5
6
6
# whether to enable HA
7
7
distribution_ha_enabled : false
Original file line number Diff line number Diff line change 1
1
# platform collection version
2
- platform_collection_version : 10.16.3
2
+ platform_collection_version : 10.16.4
3
3
4
4
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
5
5
ansible_marketplace : galaxy
Original file line number Diff line number Diff line change 1
1
# platform collection version
2
- platform_collection_version : 10.16.3
2
+ platform_collection_version : 10.16.4
3
3
4
4
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
5
5
ansible_marketplace : galaxy
Original file line number Diff line number Diff line change 1
1
# Defaults file for xray
2
2
3
3
# The version of xray to install
4
- xray_version : 3.86.4
4
+ xray_version : 3.86.9
5
5
6
6
# Whether to enable HA
7
7
xray_ha_enabled : false
Original file line number Diff line number Diff line change 1
1
# platform collection version
2
- platform_collection_version : 10.16.3
2
+ platform_collection_version : 10.16.4
3
3
4
4
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
5
5
ansible_marketplace : galaxy
You can’t perform that action at this time.
0 commit comments