thecodeteam.rexray

rexray

构建状态

Ansible 角色,用于安装和配置 REX-Ray

有关 REX-Ray 和 REX-Ray 配置文件的详情,请参见 http://rexray.readthedocs.org/en/stable/。

要求

角色变量

可用的变量列在下面,并附有默认值(见 vars/main.yml):

rexray_channel: stable

rexray_channel 指定从哪里获取软件包,可以是 stable(稳定版)、unstable(不稳定版)或 staged(预发布版)。

rexray_service: false

这控制 rexray 服务/守护进程是否在节点上启动。

rexray_storage_drivers: []

这是要启用的所有存储驱动程序的列表。默认是空列表,但至少必须启用一个存储驱动程序,才能使 REX-Ray 正常工作。因此设置此角色变量是 强制性的

每个存储驱动程序都有特定的变量可以设置。有些是必需的,有些是可选的。有关每个驱动程序的详细信息,请参阅用户指南中的 提供者列表

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: ''

依赖关系

示例剧本

强烈建议使用 Ansible Vault 存储敏感变量值,如密码和 API 密钥。

- 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" }

许可

Apache 2.0

作者信息

该角色由 Travis Rhoden 创建,属于{code} by Dell EMC

关于项目

REX-Ray installation and configuration

安装
ansible-galaxy install thecodeteam.rexray
许可证
apache-2.0
下载
87
拥有者
all things open source at Dell