You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hello Team,
I am parsing register value using debug and using when condition to print particular matching value. While doing that am getting below error. some of the register value doesn't have "volume_attachments" variable due to that the when condition is failing. I want to ignore this error how can I do it. Could you please help me on this. Thanks in advance.
fatal: [localhost]: FAILED! => {"msg": "The conditional check 'item.volume_attachments | length == 0' failed. The error was: error while evaluating conditional (item.volume_attachments | length == 0): 'dict object' has no attribute 'volume_attachments'\n\nThe error appears to be in '/var/lib/home/s': line 33, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - debug:\n ^ here\n"}
Regards,
Jegan A
Martin Krizek
unread,
Jan 23, 2020, 5:58:57 AM1/23/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message