must be stored as a dictionary/hash

Hi All,
I’m trying to launch an EC2 instance via a playbook. My playbook contents are like this:

what is the content of your aws_keys.txt ?

Normally the file used with the include statement has .yml extension. Not sure if that makes any difference

My aws_keys.txt has access key and secret key of my EC2 user.

aws_keys has both access key and secret key of my EC2 user.