Files
JFrog-Cloud-Installers/Ansible/collection/jfrog/ansible/roles/xray

xray

The xray role will install Xray software onto the host. An Artifactory server and Postgress database is required.

Role Variables

  • xray_version: The version of Artifactory to install. eg. "3.3.0"
  • jfrog_url: This is the URL to the Artifactory base URL. eg. "http://ec2-54-237-207-135.compute-1.amazonaws.com"
  • master_key: This is the Artifactory Master Key. See below to autogenerate this key.
  • join_key: This is the Artifactory Join Key. See below to autogenerate this key.
  • db_type: This is the database type. eg. "postgresql"
  • db_driver: This is the JDBC driver class. eg. "org.postgresql.Driver"
  • db_url: This is the database url. eg. "postgres://10.0.0.59:5432/xraydb?sslmode=disable"
  • db_user: The database user to configure. eg. "xray"
  • db_password: The database password to configure. "xray"
  • system_file: Your own system YAML file can be specified and used. If specified, this file will be used rather than constructing a file from the parameters above.

Example Playbook

---
- hosts: xray
  roles:
    - xray