Skip to content

dokshina/deploy-tarantool-cartridge-app

Repository files navigation

Deploy Tarantool Cartridge application

Example of Tarantool Cartridge role using.

Full documentation you can find here.

This example is used in the tutorial dedicated to the Tarantool Cartridge Ansible role (Russian and English).

Requirements

  • Ansible 2.8.4 or higher.
  • Vagrant

Run example

First, start two vagrant virtual machines:

$ vagrant up

Install Tarantool Cartridge role:

$ ansible-galaxy install tarantool.cartridge,1.0.1

Then, deploy Tarantool Cartridge application on this machines and set up cluster topology:

$ ansible-playbook -i hosts.yml playbook.yml

Wait for playbook to be completed.

Then, go to the http://localhost:8181/admin/cluster/dashboard and enjoy!

image

Add one more replicaset

Run playbook with updated inventory:

$ ansible-playbook -i hosts.updated.yml playbook.yml

Again, go to the http://localhost:8181/admin/cluster/dashboard.

image

Stop virtual machines

Don't forget to stop virtual machines:

$ vagrant halt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published