mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 05:06:56 -06:00
Added systemd check to verify it's already been installed.
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,9 @@
|
|||||||
- name: Rectify Legacy Installation Block
|
- name: Rectify Legacy Installation Block
|
||||||
block:
|
block:
|
||||||
|
- name: Check to see if artifactory has a service
|
||||||
|
systemd:
|
||||||
|
state: stopped
|
||||||
|
name: artifactory
|
||||||
- name: Check symlink method
|
- name: Check symlink method
|
||||||
stat:
|
stat:
|
||||||
path: /opt/jfrog/artifactory/app
|
path: /opt/jfrog/artifactory/app
|
||||||
@@ -20,6 +24,10 @@
|
|||||||
include_tasks: "legacy_migration.yml"
|
include_tasks: "legacy_migration.yml"
|
||||||
when: (not newMethod.stat.islnk) and newMethod.stat.exists
|
when: (not newMethod.stat.islnk) and newMethod.stat.exists
|
||||||
rescue:
|
rescue:
|
||||||
|
- name: Check to see if artifactory has a service
|
||||||
|
systemd:
|
||||||
|
state: stopped
|
||||||
|
name: artifactory
|
||||||
- name: Setup temporary untar home (assuming version is set var for version)
|
- name: Setup temporary untar home (assuming version is set var for version)
|
||||||
set_fact:
|
set_fact:
|
||||||
temp_untar_home: "{{ jfrog_home_directory }}/artifactory-{{ artifactory_flavour }}-{{ artifactory_version }}"
|
temp_untar_home: "{{ jfrog_home_directory }}/artifactory-{{ artifactory_flavour }}-{{ artifactory_version }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user