Skip to content

Commit

Permalink
[ansible] JFrog Platform 10.16.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
chukka committed Oct 26, 2023
1 parent 0834442 commit dd3d415
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 15 deletions.
8 changes: 5 additions & 3 deletions Ansible/ansible_collections/jfrog/platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# JFrog Platform Ansible Collection Changelog
All changes to this collection will be documented in this file.

## [10.15.4] - Oct 2, 2023
* Configure admin password
* Formatting README.md
## [10.16.0] - Oct 26, 2023
* Artifactory - Configure admin credentials [GH-335](https://github.com/jfrog/JFrog-Cloud-Installers/pull/335)
* Postgres - Assert that database username and password are defined [GH-336](https://github.com/jfrog/JFrog-Cloud-Installers/pull/336)
* Xray - Added a condition to check if socat already exists in rabbitmq
* Product Updates/fixes

## [10.15.3] - Oct 16, 2023
* Product Updates/fixes
Expand Down
2 changes: 1 addition & 1 deletion Ansible/ansible_collections/jfrog/platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ The JFrog Platform Ansible Collection can be installed on the following operatin
* By default, ansible_python_interpreter: "/usr/bin/python3" used , For Centos/RHEL-7, Set this to "/usr/bin/python" . For example
```bash
ansible-playbook -vv platform.yml -i hosts.ini -e 'ansible_python_interpreter=/usr/bin/python'
```
```
2 changes: 1 addition & 1 deletion Ansible/ansible_collections/jfrog/platform/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace: "jfrog"
name: "platform"

# The version of the collection. Must be compatible with semantic versioning
version: "10.15.3"
version: "10.16.0"

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Defaults file for artifactory

# The version of artifactory to install
artifactory_version: 7.68.14
artifactory_version: 7.71.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
Expand Down Expand Up @@ -67,6 +67,7 @@ artifactory_upgrade_only: false
# Default username and password, uncomment and change to manage with ansible
# artifactory_admin_username: admin
# artifactory_admin_password: password

artifactory_service_file: /lib/systemd/system/artifactory.service

# Provide systemyaml content below with 2-space indentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
group: "{{ artifactory_group }}"
loop:
- "{{ artifactory_home }}/var/data"
- "{{ artifactory_home }}/var/etc/"
- "{{ artifactory_home }}/var/etc"
- "{{ artifactory_home }}/var/etc/security/"
- "{{ artifactory_home }}/var/etc/artifactory/info/"

Expand Down Expand Up @@ -234,4 +234,4 @@
delay: 5
when:
- not ansible_check_mode
- artifactory_start_service | bool
- artifactory_start_service | bool
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform collection version
platform_collection_version: 10.15.3
platform_collection_version: 10.16.0

# indicates where this collection was downloaded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform collection version
platform_collection_version: 10.15.3
platform_collection_version: 10.16.0

# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform collection version
platform_collection_version: 10.15.3
platform_collection_version: 10.16.0

# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Defaults file for xray

# The version of xray to install
xray_version: 3.83.9
xray_version: 3.83.10

# Whether to enable HA
xray_ha_enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,40 @@
- ansible_distribution_release == 'xenial'
- check_libssl_package_result.matched > 0

- name: Gather the package facts
ansible.builtin.package_facts:
manager: auto

- name: Check whether a package called socat is installed
ansible.builtin.debug:
msg: "{{ ansible_facts.packages['socat'] | length }} versions of socat are installed!"
when: "'socat' in ansible_facts.packages"

- name: Find socat package
ansible.builtin.find:
paths: "{{ xray_home }}/app/third-party/rabbitmq/"
patterns: "^socat.+\\.deb$"
use_regex: true
file_type: file
register: check_socat_package_result
when: "'socat' not in ansible_facts.packages"

- name: Set socat package file name
ansible.builtin.set_fact:
xray_socat_package: "{{ check_socat_package_result.files[0].path }}"
when: check_socat_package_result.matched > 0
when:
- "'socat' not in ansible_facts.packages"
- check_socat_package_result.matched > 0

- name: Install socat package
become: true
ignore_errors: true
ansible.builtin.apt:
deb: "{{ xray_socat_package }}"
register: install_socat_package_result
when: check_socat_package_result.matched > 0
when:
- "'socat' not in ansible_facts.packages"
- check_socat_package_result.matched > 0

- name: Find erlang package
ansible.builtin.find:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# platform collection version
platform_collection_version: 10.15.3
platform_collection_version: 10.16.0

# indicates were this collection was downlaoded from (galaxy, automation_hub, standalone)
ansible_marketplace: galaxy

0 comments on commit dd3d415

Please sign in to comment.