jumbo
jumbo copied to clipboard
cluster: Make Vagrant optional
Allow defining a cluster to be deployed on remote machines, rather than virtual local ones.
To do:
- add an option to create (e.g.
--remote) - register the type of cluster in the config file (local vs remote)
- don't generate the
Vagrantfilewhen not necessary - update the documentation accordingly
Change commands:
-
startonly works for local clusters with Vagrant: starts the machines and provision them if first time (--no-provisionflag to only start the VMs). Starts all services. -
provisionprovisions the machines (local or remote cluster) by running theansible-playbookcommand
We use the Ansible installed on the host machine instead of installing Ansible on an edge VM each time we create a cluster.