I have this:
TASK [debug] 
*******************************************************************
ok: [localhost] => {
    "changed": false, 
    "msg": {
        "changed": false, 
        "volume": {}
    }
}



I'd like to test for this condition, where volume is an empty dict. 

I tried 
when volume == {}

and, of course, got an error. 

Any ideas?

-- 
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/41ccc811-d9ed-4fee-86e0-2696c42d337e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to