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,7 +1,7 @@
|
||||
# defaults file for artifactory
|
||||
|
||||
# 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 )
|
||||
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 }}"
|
||||
|
||||
- name: Ensure permissions are correct
|
||||
become: yes
|
||||
file:
|
||||
path: "{{ jfrog_home_directory }}"
|
||||
group: "{{ artifactory_group }}"
|
||||
owner: "{{ artifactory_user }}"
|
||||
recurse: yes
|
||||
include_tasks: shared/ensure_permissions_correct.yml
|
||||
|
||||
- name: Restart artifactory
|
||||
meta: flush_handlers
|
||||
|
||||
@@ -48,18 +48,7 @@
|
||||
command: "cp -r {{ artifactory_untar_home }}/app/. {{ artifactory_home }}/app"
|
||||
when: download_artifactory.changed
|
||||
|
||||
- name: Configure single license
|
||||
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
|
||||
- name: Configure artifactory license(s)
|
||||
become: yes
|
||||
template:
|
||||
src: artifactory.cluster.license.j2
|
||||
@@ -126,12 +115,7 @@
|
||||
notify: restart artifactory
|
||||
|
||||
- name: Ensure permissions are correct
|
||||
become: yes
|
||||
file:
|
||||
path: "{{ jfrog_home_directory }}"
|
||||
group: "{{ artifactory_group }}"
|
||||
owner: "{{ artifactory_user }}"
|
||||
recurse: yes
|
||||
include_tasks: shared/ensure_permissions_correct.yml
|
||||
|
||||
- name: Restart artifactory
|
||||
meta: flush_handlers
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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)
|
||||
ansible_marketplace: galaxy
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# defaults file for distribution
|
||||
|
||||
# The version of distribution to install
|
||||
distribution_version: 2.10.5
|
||||
distribution_version: 2.11.0
|
||||
|
||||
# whether to enable HA
|
||||
distribution_ha_enabled: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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)
|
||||
ansible_marketplace: galaxy
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# defaults file for insight
|
||||
|
||||
# The version of insight to install
|
||||
insight_version: 1.5.0
|
||||
insight_version: 1.6.0
|
||||
|
||||
# whether to enable HA
|
||||
insight_ha_enabled: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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)
|
||||
ansible_marketplace: galaxy
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 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)
|
||||
ansible_marketplace: galaxy
|
||||
|
||||
Reference in New Issue
Block a user