elastic / ansible-elasticsearch

Ansible playbook for Elasticsearch
Other
1.58k stars 854 forks source link

How to remove always tag #843

Open iaacautomation opened 2 years ago

iaacautomation commented 2 years ago

When running a playbook in which I also use terraform to create the infrastructure and then deploy elasticsearch using the collection. How can I ignore or disable always tag.

My playbook does

  1. Create the required VMs
  2. Build Dynamic inventory
  3. Stop elastic search and Delete infra with a specific tag
  4. Deploy Elasticsearch master/data nodes
  5. Deploy kibana
  6. Setup beats

Currently problem is on deletion only step 1,2,3 should run when deleting, but due to the "always" tag Elasticsearch tries to run but fails since the infra is already deleted. The always tag removes the control from user

botelastic[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.