Greengrass: Adding device fails first time

10 views
Skip to first unread message

niran...@gmail.com

unread,
Apr 12, 2021, 10:52:05 PM4/12/21
to Ansible Project
Hi 
i am having some issue adding a new device D35 to greengrass .
The first time the role is run on devices newly added to {{ api_greengrass_group_thing_list }} the playbook will fail at this point but then running the playbook a second time the error will go away. 



TASK [aws.greengrass : Template out device config] *************************************************************************
fatal: [zzz-ops-greengrass-1]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'D35_cert_arn'"}
[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.mail.CallbackModule
object at 0x7f2a1bdfda50>): [Errno 111] Connection refused


Need some hints what could me the issue.

Komal Suthar

unread,
Apr 13, 2021, 3:09:44 AM4/13/21
to ansible...@googlegroups.com
There are two error first the variable it is looking for it didn't get and the connection is not established try to resolve this, then try again.

--
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-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1aa34fd6-3d36-4b4b-a030-0c45c81c0ce3n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages