ansible-plugin icon indicating copy to clipboard operation
ansible-plugin copied to clipboard

Log filters not working

Open qsypoq opened this issue 4 years ago • 1 comments

Hi, after testing multiples ways to do it, I'm actually unable to apply any of the log filters on ansible's output:

  • JQ plugin
  • Render formatted data
  • Key value

None of them work, FYI my playbook look like:

   - RANDOM TASK REGISTERING JSON
     register: myoutput

   - debug:
       msg: "{{ myoutput}}" 

As a workaround i can do something like:

    - RANDOM TASK REGISTERING JSON
      register: myouput
    - copy: content="{{ myoutput] }}" dest=/tmp/tmp.txt

Then I'm able to cat it in a separated command step and apply log filters on it without problem.

Is there something I'm missing or a bug on your side ?

Regards.

qsypoq avatar Dec 29 '20 13:12 qsypoq

Same for us here,

jothoma1 avatar Feb 19 '21 12:02 jothoma1