systemli / ansible-role-needrestart

Install and maintain needrestart on debian-like systems
GNU General Public License v3.0
10 stars 11 forks source link

Add a whitelist #8

Closed YoSiJo closed 5 years ago

YoSiJo commented 5 years ago

I have a lot of systems with services that like to change. New Service Units from Users and other stuff. A blacklist is therefore rather difficult to implement. Therefore a whitelist with services that I would like to restart would be better. If she then understands regex, a dream comes true. ;)

xshadow commented 5 years ago

Hey YoSijo, thank you for your feedback. That is not an option at the moment. It's simply not integrated in needrestart yet. See https://github.com/liske/needrestart/issues/135 . To build ansible logic around it to solve that problem, seems not to be the correct way of doing.

xshadow commented 5 years ago

You should support the ticket there. If it is implemented, we can add the logic.

YoSiJo commented 5 years ago

Thank you, I will address the mentioned ticket on the "needrestart" project.