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を機能させるためには少なくとも1つのストレージドライバーを有効にする必要があります。このロール変数を設定することは必須です。
各ストレージドライバーには、設定できるドライバー固有の変数があります。いくつかは必須で、いくつかはオプションです。各ドライバーの詳細はユーザーガイドのプロバイダーリストで確認できます。
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: ''
依存関係
特になし
使用例プレイブック
パスワードやAPIキーなどの重要な変数値を保存するために、Ansible Vaultを使用することを強く推奨します。
- 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の一部です。
インストール
ansible-galaxy install thecodeteam.rexray
ライセンス
apache-2.0
ダウンロード
87
所有者
all things open source at Dell