Skip to content

An Ansible role to manage the lifecycle of an opensearch & dashboards cluster. Uses clusterverse for IaC.

License

Notifications You must be signed in to change notification settings

dseeley/opensearch_ansible

Repository files navigation

opensearch-ansible

This Ansible role is used to provision opensearch and opensearch-dashboards

This project can operate in isolation, but is designed to operate using clusterverse to manage the base infrastructure. Please see the README.md there for instructions on deployment.

Please see the EXAMPLE directory in this repository for some basic configuration.

EXAMPLE:

Configuration

Cluster configuration is stored in cluster_defs/**/cluster_vars[*].yml files. Application configuration is stored in cluster_defs/**/app_vars.yml files.

Playbook execution

cluster.yml is included that is compatible with clusterverse.

redeploy.yml is included that functions only in conjunction with clusterverse.

Invocation

To create a cluster:

ansible-playbook cluster.yml -e buildenv=dev -e cloud_type=aws -e region=eu-west-1

To redeploy a cluster

ansible-playbook redeploy.yml -e buildenv=dev -e cloud_type=aws -e region=eu-west-1 -e canary=none

To delete a cluster

ansible-playbook cluster.yml -e buildenv=dev -e cloud_type=aws -e region=eu-west-1 --tags=clusterverse_clean -e clean=_all_

About

An Ansible role to manage the lifecycle of an opensearch & dashboards cluster. Uses clusterverse for IaC.

Resources

License

Stars

Watchers

Forks

Packages

No packages published