noris-network / ansible-prometheus-kafka-adapter

Ansible role to deploy prometheus-kafka-adapter as a Docker container
Apache License 2.0
0 stars 0 forks source link

Use handlers to restart prometheus-kafka-adapter #17

Open fbermel opened 1 year ago

fbermel commented 1 year ago

Replaces conditional restart task with handler.

This was tested against Debian10 and Ubuntu2004 because all the other test cases are broken right now.

fbermel commented 1 year ago

I've changed this further so container names are propagated to the handler. It's a pretty hacky solution and should be changed again in the future.