ec2_vol: Added missing "needs 2.0" doc

The ability to find-or-create a volume was added in 2.0. Added note to
the example.
This commit is contained in:
David M. Lee 2015-08-14 13:01:44 -05:00 committed by Matt Clay
parent c1526ff87b
commit 4cd2fcf917

View file

@ -146,6 +146,7 @@ EXAMPLES = '''
# Example: Launch an instance and then add a volume if not already attached # Example: Launch an instance and then add a volume if not already attached
# * Volume will be created with the given name if not already created. # * Volume will be created with the given name if not already created.
# * Nothing will happen if the volume is already attached. # * Nothing will happen if the volume is already attached.
# * Requires Ansible 2.0
- ec2: - ec2:
keypair: "{{ keypair }}" keypair: "{{ keypair }}"