gchiesa.shipyard

Role Name

This role installs Shipyard on a Swarm Cluster that is set up using the gchiesa.swarm role.

Role Variables

The Shipyard interface is configured based on the hosts in the groups used by gchiesa.swarm:

  • swarm_managers: This group should contain the manager nodes.
  • swarm_agents: This group should include all the nodes that will be part of the swarm cluster.

Dependencies

This role depends on gchiesa.swarm and its other required packages.

Example Playbook

Here's an example of how to use this role (with variables that can be passed in):

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

The inventory looks like this:

[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

License

This role is licensed under BSD.

Informazioni sul progetto

Shipyard role for swarm managers for Enterprise Linux

Installa
ansible-galaxy install gchiesa.shipyard
Licenza
Unknown
Download
100
Proprietario
a Cloud Architect living in Amsterdam. I enjoy jazz music, italian cooking and be surrounded by open-minded people.