Hi all, I has this error:
UndefinedError: 'dict' object has no attribute 'JMSFileStoreName' Into my dict just a few has this attributes, others not, I'll like to execute some task in case that this atribute exist, some way to check the status to avoid break the playbook? This is my task: - stat: path="/tmp/{{ item.key }}{{ server.sufix }}_{{item.value.JMSFileStoreName}}.py" register: config_jms with_dict: "{{AppName}}" when: "{{item.value.JMSFileStoreName}} is defined" tags: config_jms thanks for any advice! Ale -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/336b05c7-a886-4a4a-8e5a-5184d8f03df1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.