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.

-- 
Atenciosamente,

Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin

LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGEUqbDLJ%2BqXtCOvrPELFQA9OeoSG7Q-p7kZbAdW0yvVRuftKw%40mail.gmail.com.

Reply via email to