[Ansible] JFrog Platform 10.0.1 release (#166)

This commit is contained in:
Ram Mohan Rao Chukka
2021-10-22 13:13:22 +05:30
committed by GitHub
parent 8d5ff07819
commit 37bab36884
78 changed files with 876 additions and 731 deletions

View File

@@ -1,7 +1,7 @@
# defaults file for xray
# The version of xray to install
xray_version: 3.32.2
xray_version: 3.34.1
# whether to enable HA
xray_ha_enabled: false
@@ -51,7 +51,7 @@ linux_distro: "{{ ansible_distribution | lower }}{{ ansible_distribution_major_v
xray_db_util_search_filter:
ubuntu16:
db5: 'db5.3-util.*ubuntu.*amd64\.deb'
db5: 'db5.3-util.*ubuntu0.*amd64\.deb'
db: 'db-util.*ubuntu.*all.deb'
ubuntu18:
db5: 'db5.3-util.*ubuntu1.1.*amd64\.deb'

View File

@@ -39,10 +39,10 @@
unarchive:
src: "{{ jfrog_home_directory }}/{{ xray_tar_file_name }}"
dest: "{{ jfrog_home_directory }}"
remote_src: true
owner: "{{ xray_user }}"
group: "{{ xray_group }}"
creates: "{{ xray_untar_home }}"
remote_src: true
when: download_xray is succeeded
- name: Check if app directory exists
@@ -56,6 +56,9 @@
copy:
src: "{{ xray_untar_home }}/"
dest: "{{ xray_home }}"
owner: "{{ xray_user }}"
group: "{{ xray_group }}"
mode: 0755
remote_src: yes
when: not app_dir_check.stat.exists

View File

@@ -21,6 +21,12 @@
xray_socat_package: "{{ check_socat_package_result.files[0].path }}"
when: check_socat_package_result.matched > 0
- name: Import CentOS GPG public key
become: yes
rpm_key:
key: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
state: present
- name: Install socat package
become: yes
yum:

View File

@@ -1,4 +1,3 @@
---
- name: Check if xray tar exists
become: yes
stat:
@@ -101,7 +100,7 @@
mode: 0644
when:
- xray_systemyaml is defined
- xray_systemyaml|length > 0
- xray_systemyaml | length > 0
- xray_systemyaml_override or (not systemyaml.stat.exists)
notify: restart xray

View File

@@ -1,3 +1,3 @@
{% if (xray_systemyaml) and (xray_systemyaml|length > 0) %}
{% if (xray_systemyaml) and (xray_systemyaml | length > 0) %}
{{ xray_systemyaml }}
{% endif %}

View File

@@ -1,5 +1,5 @@
# platform collection version
platform_collection_version: 7.25.7
platform_collection_version: 10.0.1
# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy