thecodeteam.rexray

rexray

Build Status

This is an Ansible role that helps you install and set up REX-Ray.

For more information on REX-Ray and how to properly configure its settings, visit REX-Ray Documentation.

Requirements

No specific requirements.

Role Variables

Here are the variables you can use with their default values (found in vars/main.yml):

rexray_channel: stable

The rexray_channel specifies the package source and can be stable, unstable, or staged.

rexray_service: false

This option determines if the REX-Ray service should start automatically on the node.

rexray_storage_drivers: []

This is a list of storage drivers to enable. At least one driver must be enabled for REX-Ray to work, so this setting is required.

Each storage driver has its own specific variables. Some are necessary, and some are optional. Check the Provider List for more details.

Supported Storage Providers

AWS

rexray_aws_accesskey: ''
rexray_aws_secretkey: ''
rexray_aws_region: ''

GCE

rexray_gce_keyfile: ''

Isilon

rexray_isilon_endpoint: ''
rexray_isilon_insecure: false
rexray_isilon_username: ''
rexray_isilon_password: ''
rexray_isilon_volumePath: ''
rexray_isilon_nfsHost: ''

OpenStack

rexray_os_authurl: ''
rexray_os_userid: 0
rexray_os_username: ''
rexray_os_password: ''
rexray_os_tenantid: 0
rexray_os_tenantname: ''
rexray_os_domainid: 0
rexray_os_domainname: ''
rexray_os_regionname: ''
rexray_os_availabilityzonename: ''

ScaleIO

rexray_sio_endpoint: ''
rexray_sio_insecure: false
rexray_sio_usecerts: false
rexray_sio_username: ''
rexray_sio_password: ''
rexray_sio_systemid: 0
rexray_sio_systemname: ''
rexray_sio_protectiondomainid: 0
rexray_sio_protectiondomainname: ''
rexray_sio_storagepoolid: 0
rexray_sio_storagepoolname: ''

VirtualBox

rexray_vbox_endpoint: ''
rexray_vbox_user: ''
rexray_vbox_pass: ''
rexray_vbox_tls: false
rexray_vbox_volume_path: ''
rexray_vbox_controller_name: SATA
rexray_vbox_machine: ''

Dependencies

No dependencies.

Example Playbook

It is strongly recommended to use Ansible Vault to securely store sensitive information, like passwords and API keys.

- hosts: gce_docker_hosts
  roles:
  - { role: codedellemc.rexray,
      rexray_service: true,
      rexray_storage_drivers: [gce],
      rexray_gce_keyfile: "/opt/gce_keyfile" }
- hosts: gce_containers
  roles:
  - { role: codedellemc.rexray,
      rexray_storage_drivers: [gce],
      rexray_gce_keyfile: "/opt/gce_keyfile" }
- hosts: vbox_local_dev_containers
  roles:
  - { role: codedellemc.rexray,
      rexray_channel: unstable,
      rexray_storage_drivers: [virtualbox],
      rexray_vbox_endpoint: "http://10.0.2.2:18083",
      rexray_vbox_volume_path: "/Users/travis/VirtualBox VMs/Volumes" }

License

Apache 2.0

Author Information

This role was created by Travis Rhoden from {code} by Dell EMC.

Informazioni sul progetto

REX-Ray installation and configuration

Installa
ansible-galaxy install thecodeteam.rexray
Licenza
apache-2.0
Download
87
Proprietario
all things open source at Dell