This implementation uses ansible to configure and manage the cluster setup. See https://github.com/ansible/ansible for details.
| Parameters: |
|
|---|---|
| Variables: |
|
Deletes the inventory file used last recently used.
| Parameters: | cluster (elasticluster.cluster.Cluster) – cluster to clear up inventory file for |
|---|
Configures the cluster according to the node_kind to ansible group matching. This method is idempotent and therefore can be called multiple times without corrupting the cluster configuration.
| Parameters: | cluster (elasticluster.cluster.Cluster) – cluster to configure |
|---|---|
| Returns: | True on success, False otherwise. Please note, if nothing has to be configures True is returned |
| Raises : | AnsibleError if the playbook can not be found or playbook is corrupt |