Updated changelog, readme, added become and rebuilt collection tar

This commit is contained in:
Serienmorder
2020-10-15 18:07:54 -07:00
parent 2bbc9fd91b
commit 6b8db76478
4 changed files with 14 additions and 6 deletions

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [1.1.1] - 2020-10-15
- added idempotence to artifactory installer
- added fix for derby deployments
- Migration to reduce changes during playbook runs contains breaking changes. You either must run once before upgrade, or provide playbook with valid credentials to access version information for it to perform properly.
- First time installers need not worry about above
## [1.1.0] - 2020-09-27 ## [1.1.0] - 2020-09-27
- Validated for Artifactory 7.7.8 and Xray 3.8.6. - Validated for Artifactory 7.7.8 and Xray 3.8.6.

View File

@@ -12,6 +12,7 @@ This Ansible directory consists of the following directories that support the JF
| collection_version | artifactory_version | xray_version | | collection_version | artifactory_version | xray_version |
|--------------------|---------------------|--------------| |--------------------|---------------------|--------------|
| 1.1.1 | 7.10.2 | 3.9.1 |
| 1.1.0 | 7.7.8 | 3.8.6 | | 1.1.0 | 7.7.8 | 3.8.6 |
| 1.0.9 | 7.7.3 | 3.8.0 | | 1.0.9 | 7.7.3 | 3.8.0 |
| 1.0.8 | 7.7.3 | 3.8.0 | | 1.0.8 | 7.7.3 | 3.8.0 |

View File

@@ -1,9 +1,10 @@
- name: Rectify Legacy Installation Block - name: Rectify Legacy Installation Block
block: block:
- name: Check to see if artifactory has a service - name: Check to see if artifactory has a service and stop it
systemd: service:
state: stopped
name: artifactory name: artifactory
state: stopped
become: yes
- name: Check symlink method - name: Check symlink method
stat: stat:
path: /opt/jfrog/artifactory/app path: /opt/jfrog/artifactory/app
@@ -24,10 +25,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 - name: Check to see if artifactory has a service and stop it
systemd: service:
state: stopped
name: artifactory name: artifactory
state: stopped
- 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 }}"