Using the filter_plugins in conditional when

Hi dear,

I created the filter_plugin that check if running process and return true or false. This is an example:

process_name|get_processes

I want to create this task:

- name: start service
shell: /usr/local/bin/my_script
when: process_name|get_processes is false

But it seems to me that the conditional does not accept filter_plugin.

Isn’t this what systemd is supposed to be for?
If you deploy a proper systemd unit, you can use the service module.