Automatic removal of old scrape files that are not in the playbook anymore.
Why is this needed?
[A clear and concise description of why do you think this is needed]
If you want to remove an old scrape file from your prometheus server, you have to manually remove it in the server.
Removing it from your playbook and running it is not enough.
With this implementation, that process would be made by ansible by running your playbook.
Additional Information
[Any additional information, configuration or data.]
Description
[Description of the issue]
Automatic removal of old scrape files that are not in the playbook anymore.
Why is this needed?
[A clear and concise description of why do you think this is needed]
If you want to remove an old scrape file from your prometheus server, you have to manually remove it in the server. Removing it from your playbook and running it is not enough. With this implementation, that process would be made by ansible by running your playbook.
Additional Information
[Any additional information, configuration or data.]