(added in 1.5.1)
# Conditional example - name: Gather facts ec2_facts: - name: Conditional debug: msg: "This instance is a t1.micro" when: ansible_ec2_instance_type == "t1.micro"
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
This module is supported mainly by the community and is curated by core committers.
For more information on what this means please read Module Support