ANSIBLE.EC2_FACTS(3)

NAME
ec2_facts - Gathers facts about remote hosts within ec2 (aws)

DESCRIPTION

This module fetches data from the metadata servers in ec2 (aws). Eucalyptus cloud provides a similar service and this module should work this cloud provider as well.

NOTES

Parameters to filter on ec2_facts may be added later.

EXAMPLES
# Conditional example
- name: Gather facts
  action: ec2_facts
- name: Conditional
  action: debug msg="This instance is a t1.micro"
  when: ansible_ec2_instance_type == "t1.micro"

AUTHOR
Silviu Dicu <silviudicu@gmail.com>

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#ec2-facts