[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

@@ -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