gchiesa.shipyard
Nazwa Roli
Rola, która instaluje Shipyard na klastrze Swarm skonfigurowanym z rolą gchiesa.swarm.
Zmienne Roli
Interfejs Shipyard jest ustawiony w oparciu o hosty w grupach hostów używanych przez gchiesa.swarm:
swarm_managers : powinien zawierać węzły zarządzające
swarm_agents : powinien zawierać wszystkie węzły, które mają być częścią klastra swarm.
Zależności
gchiesa.swarm
i jego zależności.
Przykładowy Playbook
Zawsze miło jest dołączyć przykład użycia twojej roli (na przykład z argumentami przekazywanymi jako parametry):
---
- hosts: serwery
roles:
- { rola: gchiesa.swarm, x: 42 }
Inwentory wygląda następująco:
[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
Licencja
BSD
Zainstaluj
ansible-galaxy install gchiesa.shipyard
Licencja
Unknown
Pobrania
100
Właściciel
a Cloud Architect living in Amsterdam. I enjoy jazz music, italian cooking and be surrounded by open-minded people.