gchiesa.shipyard

ロール名

gchiesa.swarmロールで構成されたSwarmクラスターにShipyardをインストールするロールです。

ロール変数

Shipyardのインターフェースは、gchiesa.swarmで使用されるホストグループのホストに基づいて設定されます:

swarm_managers : マネージャーノードを含む必要があります。

swarm_agents : Swarmクラスターの一部であるべきすべてのノードを含む必要があります。

依存関係

gchiesa.swarm とその依存関係

例プレイブック

役割の使い方を示す例(たとえば、パラメータとして渡される変数を使うなど)を含むことは、ユーザーにとって良いことです:

---
- hosts: servers
  roles:
     - { role: gchiesa.swarm, x: 42 }

インベントリは次のようになります:

[targets:vars]
ansible_host=localhost
ansible_become=true
ansible_ssh_user=vagrant
ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key
proxy=

[consul_cluster:vars]
consul_bootstrap_hostname=test01.local

[targets]
test01.local ansible_port=2200
test02.local ansible_port=2201
test03.local ansible_port=2202
test04.local ansible_port=2203

[consul_cluster]
test01.local
test02.local
test03.local

[swarm_agents]
test01.local
test02.local
test03.local
test04.local

[swarm_managers]
test01.local
test02.local

ライセンス

BSD

プロジェクトについて

Shipyard role for swarm managers for Enterprise Linux

インストール
ansible-galaxy install gchiesa.shipyard
ライセンス
Unknown
ダウンロード
100
所有者
a Cloud Architect living in Amsterdam. I enjoy jazz music, italian cooking and be surrounded by open-minded people.