Hi,
I’m looking for a way to quickly render/debug template files populated with variables from ec2.
My strategy is to write a playbook that discovers that facts then runs the template module locally.
Here is my current playbook:
Hi,
I’m looking for a way to quickly render/debug template files populated with variables from ec2.
My strategy is to write a playbook that discovers that facts then runs the template module locally.
Here is my current playbook:
Your playbook appears to be manually typed in as I would expect to see tasks starting with a “-”.
Can you please be sure to copy/paste the actual playbook.
I say this because even the first task is not correctly formatted, otherwise I would suggest this error with respect to the second, and also know we have error detection to make sure “tasks” is a list and suggest changes appropriately.
Hi Michael,
Thanks for your response. The config in my original email was as it was in my playbook. That being said, your hint to add list item delimiters in front of my tasks did the trick. I am now able to run the tasks. Thanks for that.
MTC