Hi, 

I am trying to create a Direct connect Gateway in AWS account using 
ansible. I have the main playbook and an account config yaml template. When 
I run the playbook I am getting an error 

fatal: [infrastructure]: FAILED! => {"msg": "The task includes an option 
with an undefined variable. The error was: 'dict object' has no attribute 
'stacks'\n\nThe error appears to have been in 
'/home/ec2-user/environment/aws-rxgt-mgmt-platform/ansible/rxgt-ps-rxgtmgmt-playbook.yaml':
 
line 10, column 5, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n  - name: 
create rxgt-ps-mgmt-direct-connect-gateway stack\n    ^ here\n"}

I have attached the code for reference and error. can someone please help?


Thanks

-- 
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/6cf10910-5f3d-473e-b7b5-36b3ee96246b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to