This is intended for use with the [elk-jdbc-sso](https://git.96-fromsofia.net/k8s/elk-jdbc-sso) stack. More information about how this project can be found there. - To run the playbook: ``` ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --ask-become-pass ``` - It is also possible to run individual phases: ``` # Regenerate certificates only ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags certs,secrets # Redeploy only Logstash ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags logstash # Redeploy Elasticsearch and re-run setup ansible-playbook -i inventory/hosts.yml playbooks/deploy.yml --tags elasticsearch,es-setup ``` - To remove the deployment: ``` # Remove all K8s resources but keep Minikube running ansible-playbook -i inventory/hosts.yml playbooks/teardown.yml --ask-become-pass # Remove everything including Minikube ansible-playbook -i inventory/hosts.yml playbooks/teardown.yml --ask-become-pass -e stop_minikube=true ```