I'm running a small playbook that runs commands to create AWS 
infrastructure from the localhost. I want to use the localhosts region as 
the default, but using instance metadata to get the AZ and then parsing the 
region just seems hacky. Is there a clean way to get the region for 
localhost similar to how I can use ec2_region with dynamic inventory?

-- 
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/d0dad015-07bc-4222-9650-793f0a30adae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to