ah, again the same error with msg rather than var
TASK [debug]
**************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module
execution."}On Wed, Jan 9, 2019 at 9:26 PM Kai Stian Olstad < [email protected]> wrote: > On Tuesday, 8 January 2019 23:48:16 CET Rama wrote: > > Hi, > > > > Enclosed the var and made PB as below and resulted FAILED output. > > > > PB: > > --- > > - hosts: localhost > > connection: local > > gather_facts: no > > tasks: > > - name: ILO Facts > > hpilo_facts: > > host: 10.20.64.51 > > login: XXXXXX > > password: XXXXXX > > delegate_to: localhost > > > > - debug: > > var: "{{ hw_health.storage['Controller on System > > Board']['logical_drives'][0]['physical_drives'] | selectattr('status', > > 'equalto', 'CRITICAL') | list }}" > > var: takes a variable not the content, change your var: to msg: > > > -- > Kai Stian Olstad > > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/3008905.SmHLR2bRnS%40x1. > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAO%2BN09Ocud4WE5ysGx1KQ0FJv5fhsKzuq%2BJywCz232r5_Wq9uA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
