You just need to run ansible-what-the-facts-say
ansible what-the-facts-say ec2 --help
Ring-ding-ding-ding-dingeringeding!
Gering-ding-ding-ding-dingeringeding!
Gering-ding-ding-ding-dingeringeding!
Ok, that's totally not a thing and I apologize for meme insertion on the list :)
Yeah, it's not clear from the module source, I agree! One thing we want to do for all modules is show a basic example of what they all return -- that's pending.
The super easy way to do this is call the module
ansible hostname -m ec2_facts
(or "setup" for the stock setup module)
Yes, they are all provided by the metadata server and then given the "ansible_" prefix.
You can also just run the playbook with -v and see all the output.
The ec2 dynamic inventory plugin also provides some useful variables.
You can watch this by
./ec2.py --list
./ec2.py --host hostname