Files
JFrog-Cloud-Installers/Ansible/ansible_collections/jfrog/platform/roles/xray/README.md
2021-05-10 13:21:22 +05:30

715 B

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