mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 05:06:56 -06:00
Xray
The xray role will install Xray software onto the host. An Artifactory server and Postgress database is required.
Role Variables
- xray_upgrade_only: Perform an software upgrade only. Default is false.
Additional variables can be found in defaults/main.yml.
Example Playbook
---
- hosts: xray_servers
roles:
- xray
Upgrades
The Xray role supports software upgrades. To use a role to perform a software upgrade only, use the xray_upgrade_only variables and specify the version. See the following example.
- hosts: xray_servers
vars:
xray_version: "{{ lookup('env', 'xray_version_upgrade') }}"
xray_upgrade_only: true
roles:
- xray