Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster: Make Vagrant optional #4

Open
Nuttymoon opened this issue Jul 24, 2018 · 1 comment
Open

cluster: Make Vagrant optional #4

Nuttymoon opened this issue Jul 24, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Nuttymoon
Copy link
Collaborator

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 Vagrantfile when not necessary
  • update the documentation accordingly
@Nuttymoon Nuttymoon added the enhancement New feature or request label Jul 24, 2018
RReivax added a commit that referenced this issue Oct 22, 2018
Prepares for remote provisionning option
@RReivax RReivax self-assigned this Oct 22, 2018
@RReivax
Copy link
Collaborator

RReivax commented Oct 22, 2018

Change commands:

  • start only works for local clusters with Vagrant: starts the machines and provision them if first time (--no-provision flag to only start the VMs). Starts all services.
  • provision provisions the machines (local or remote cluster) by running the ansible-playbook command

We use the Ansible installed on the host machine instead of installing Ansible on an edge VM each time we create a cluster.

RReivax added a commit that referenced this issue Oct 22, 2018
* allows remote provisioning
* `start` provisions if VMs not created yet (unless --no-provision)
RReivax added a commit that referenced this issue Oct 29, 2018
* Removes ansiblehost from playbooks
* Fix templates
* Add Ansible as pip dependency
RReivax added a commit that referenced this issue Oct 29, 2018
Prepares for remote provisionning option
RReivax added a commit that referenced this issue Oct 29, 2018
* allows remote provisioning
* `start` provisions if VMs not created yet (unless --no-provision)
RReivax added a commit that referenced this issue Oct 29, 2018
* Removes ansiblehost from playbooks
* Fix templates
* Add Ansible as pip dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants