mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 02:06:56 -06:00
[ansible] JFrog Platform 10.3.0 release (#200)
This commit is contained in:
committed by
GitHub
parent
616769170d
commit
519737ac06
@@ -1,6 +1,11 @@
|
|||||||
# JFrog Platform Ansible Collection Changelog
|
# JFrog Platform Ansible Collection Changelog
|
||||||
All changes to this collection will be documented in this file.
|
All changes to this collection will be documented in this file.
|
||||||
|
|
||||||
|
## [10.3.0] - Feb 8, 2022
|
||||||
|
* Performance improvement for permission check [GH-192](https://github.com/jfrog/JFrog-Cloud-Installers/pull/192)
|
||||||
|
* Fixed - Artifactory upgrade mode breaks existing installation [GH-194](https://github.com/jfrog/JFrog-Cloud-Installers/issues/194)
|
||||||
|
* Product Updates/fixes
|
||||||
|
|
||||||
## [10.2.0] - Jan 31, 2022
|
## [10.2.0] - Jan 31, 2022
|
||||||
* Product Updates/fixes
|
* Product Updates/fixes
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace: "jfrog"
|
|||||||
name: "platform"
|
name: "platform"
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: "10.2.0"
|
version: "10.3.0"
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: "README.md"
|
readme: "README.md"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# defaults file for artifactory
|
# defaults file for artifactory
|
||||||
|
|
||||||
# The version of artifactory to install
|
# The version of artifactory to install
|
||||||
artifactory_version: 7.31.13
|
artifactory_version: 7.33.9
|
||||||
|
|
||||||
# Set this to true when SSL is enabled (to use artifactory_nginx_ssl role), default to false (implies artifactory uses artifactory_nginx role )
|
# Set this to true when SSL is enabled (to use artifactory_nginx_ssl role), default to false (implies artifactory uses artifactory_nginx role )
|
||||||
artifactory_nginx_ssl_enabled: false
|
artifactory_nginx_ssl_enabled: false
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
- name: Ensure permissions are correct
|
||||||
|
become: yes
|
||||||
|
block:
|
||||||
|
- name: Ensure user ownership
|
||||||
|
ansible.builtin.command: find {{ jfrog_home_directory }} ! -user {{ artifactory_user }} -print -exec chown {{ artifactory_user }} {} \;
|
||||||
|
register: user_ownerships
|
||||||
|
changed_when: user_ownerships.stdout_lines | length > 0
|
||||||
|
|
||||||
|
- name: Ensure group ownership
|
||||||
|
ansible.builtin.command: find {{ jfrog_home_directory }} ! -group {{ artifactory_group }} -print -exec chgrp {{ artifactory_group }} {} \;
|
||||||
|
register: group_ownerships
|
||||||
|
changed_when: user_ownerships.stdout_lines | length > 0
|
||||||
@@ -190,12 +190,7 @@
|
|||||||
creates: "{{ artifactory_service_file }}"
|
creates: "{{ artifactory_service_file }}"
|
||||||
|
|
||||||
- name: Ensure permissions are correct
|
- name: Ensure permissions are correct
|
||||||
become: yes
|
include_tasks: shared/ensure_permissions_correct.yml
|
||||||
file:
|
|
||||||
path: "{{ jfrog_home_directory }}"
|
|
||||||
group: "{{ artifactory_group }}"
|
|
||||||
owner: "{{ artifactory_user }}"
|
|
||||||
recurse: yes
|
|
||||||
|
|
||||||
- name: Restart artifactory
|
- name: Restart artifactory
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|||||||
@@ -48,18 +48,7 @@
|
|||||||
command: "cp -r {{ artifactory_untar_home }}/app/. {{ artifactory_home }}/app"
|
command: "cp -r {{ artifactory_untar_home }}/app/. {{ artifactory_home }}/app"
|
||||||
when: download_artifactory.changed
|
when: download_artifactory.changed
|
||||||
|
|
||||||
- name: Configure single license
|
- name: Configure artifactory license(s)
|
||||||
become: yes
|
|
||||||
template:
|
|
||||||
src: artifactory.lic.j2
|
|
||||||
dest: "{{ artifactory_home }}/var/etc/artifactory/artifactory.lic"
|
|
||||||
mode: 0644
|
|
||||||
when:
|
|
||||||
- artifactory_single_license is defined
|
|
||||||
- artifactory_single_license | length > 0
|
|
||||||
notify: restart artifactory
|
|
||||||
|
|
||||||
- name: Configure HA licenses
|
|
||||||
become: yes
|
become: yes
|
||||||
template:
|
template:
|
||||||
src: artifactory.cluster.license.j2
|
src: artifactory.cluster.license.j2
|
||||||
@@ -126,12 +115,7 @@
|
|||||||
notify: restart artifactory
|
notify: restart artifactory
|
||||||
|
|
||||||
- name: Ensure permissions are correct
|
- name: Ensure permissions are correct
|
||||||
become: yes
|
include_tasks: shared/ensure_permissions_correct.yml
|
||||||
file:
|
|
||||||
path: "{{ jfrog_home_directory }}"
|
|
||||||
group: "{{ artifactory_group }}"
|
|
||||||
owner: "{{ artifactory_user }}"
|
|
||||||
recurse: yes
|
|
||||||
|
|
||||||
- name: Restart artifactory
|
- name: Restart artifactory
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# platform collection version
|
# platform collection version
|
||||||
platform_collection_version: 10.2.0
|
platform_collection_version: 10.3.0
|
||||||
|
|
||||||
# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
|
# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
|
||||||
ansible_marketplace: galaxy
|
ansible_marketplace: galaxy
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# defaults file for distribution
|
# defaults file for distribution
|
||||||
|
|
||||||
# The version of distribution to install
|
# The version of distribution to install
|
||||||
distribution_version: 2.10.5
|
distribution_version: 2.11.0
|
||||||
|
|
||||||
# whether to enable HA
|
# whether to enable HA
|
||||||
distribution_ha_enabled: false
|
distribution_ha_enabled: false
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# platform collection version
|
# platform collection version
|
||||||
platform_collection_version: 10.2.0
|
platform_collection_version: 10.3.0
|
||||||
|
|
||||||
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
||||||
ansible_marketplace: galaxy
|
ansible_marketplace: galaxy
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# defaults file for insight
|
# defaults file for insight
|
||||||
|
|
||||||
# The version of insight to install
|
# The version of insight to install
|
||||||
insight_version: 1.5.0
|
insight_version: 1.6.0
|
||||||
|
|
||||||
# whether to enable HA
|
# whether to enable HA
|
||||||
insight_ha_enabled: false
|
insight_ha_enabled: false
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# platform collection version
|
# platform collection version
|
||||||
platform_collection_version: 10.2.0
|
platform_collection_version: 10.3.0
|
||||||
|
|
||||||
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
||||||
ansible_marketplace: galaxy
|
ansible_marketplace: galaxy
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# platform collection version
|
# platform collection version
|
||||||
platform_collection_version: 10.2.0
|
platform_collection_version: 10.3.0
|
||||||
|
|
||||||
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
|
||||||
ansible_marketplace: galaxy
|
ansible_marketplace: galaxy
|
||||||
|
|||||||
Reference in New Issue
Block a user