thebinary.lxd
ansible-role-lxd 
UbuntuにLXDをインストールし、導入ガイドに従った基本設定を行うAnsibleロールです。
要件
- このロールをデプロイするホストはUbuntuである必要があります。
ロール変数
変数 | 説明 | デフォルト値 | 可能な値 |
---|---|---|---|
lxd_allow_remote | https APIを使用してリモートのlxcクライアントからの操作を許可 | false | true |
lxd_https_listen_address | APIのバインドアドレス | [::] | lxd APIのバインドアドレス |
lxd_trust_password | リモートlxcクライアントが使用する信頼パスワード | 4trustlxd123 | 文字列 |
lxd_lxc_path | lxdインストール後のlxcバイナリのパス | /usr/bin/lxc | インストールパスが変更されない限り変更しないでください |
依存関係
なし
サンプルプレイブック
lxdのインストール
# example1.yml
# lxdをインストールするためのサンプルプレイブック
- hosts: lxd0
roles:
- { role: thebinary.lxd }
リモートのlxcクライアントを使用する操作を許可するためにlxdをインストールして設定
# example2.yml
# リモート操作のためにlxdをインストールして設定するための例2プレイブック
- hosts: lxd1
roles:
- { role: thebinary.lxd, lxd_allow_remote: true }
- hosts: lxd2
roles:
- { role: thebinary.lxd, lxd_allow_remote: true, lxd_trust_password: "somepassword" }
ライセンス
MIT
著者情報
thebinary binary4bytes@gmail.com
プロジェクトについて
Installs LXD on Ubuntu and performs base configuration as given in get started guide
インストール
ansible-galaxy install thebinary.lxd
ライセンス
mit
ダウンロード
189
所有者