[Ansible] JFrog Platform 7.23.3 (#148)

This commit is contained in:
Ram Mohan Rao Chukka
2021-08-05 15:22:21 +05:30
committed by GitHub
parent 60b0620387
commit 1976ab309c
25 changed files with 444 additions and 130 deletions

View File

@@ -2,7 +2,7 @@
# defaults file for artifactory
# The version of artifactory to install
artifactory_version: 7.21.12
artifactory_version: 7.23.3
# 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

View File

@@ -46,8 +46,8 @@
url: "{{ artifactory_tar }}"
timeout: "{{ artifactory_download_timeout }}"
dest: "{{ jfrog_home_directory }}"
register: downloadartifactory
until: downloadartifactory is succeeded
register: download_artifactory
until: download_artifactory is succeeded
retries: 3
when: not artifactory_tar_check.stat.exists
@@ -60,7 +60,7 @@
owner: "{{ artifactory_user }}"
group: "{{ artifactory_group }}"
creates: "{{ artifactory_untar_home }}"
when: downloadartifactory is succeeded
when: download_artifactory is succeeded
- name: Check if app directory exists
become: yes

View File

@@ -14,8 +14,8 @@
url: "{{ artifactory_tar }}"
timeout: "{{ artifactory_download_timeout }}"
dest: "{{ jfrog_home_directory }}"
register: downloadartifactory
until: downloadartifactory is succeeded
register: download_artifactory
until: download_artifactory is succeeded
retries: 3
when: not artifactory_tar_check.stat.exists
@@ -28,14 +28,14 @@
owner: "{{ artifactory_user }}"
group: "{{ artifactory_group }}"
creates: "{{ artifactory_untar_home }}"
when: downloadartifactory is succeeded
when: download_artifactory is succeeded
- name: Stop artifactory
become: yes
systemd:
name: "{{ artifactory_daemon }}"
state: stopped
when: downloadartifactory.changed
when: download_artifactory.changed
- name: Ensure jfrog_home_directory exists
become: yes
@@ -48,12 +48,12 @@
file:
path: "{{ artifactory_home }}/app"
state: absent
when: downloadartifactory.changed
when: download_artifactory.changed
- name: Copy new app to artifactory app
become: yes
command: "cp -r {{ artifactory_untar_home }}/app/. {{ artifactory_home }}/app"
when: downloadartifactory.changed
when: download_artifactory.changed
- name: Configure single license
become: yes

View File

@@ -1,6 +1,6 @@
---
# platform collection version
platform_collection_version: 7.21.12
platform_collection_version: 7.23.3
# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy