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.
pull/18777/head
David M. Lee 9 years ago committed by Matt Clay
parent c1526ff87b
commit 4cd2fcf917

@ -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 }}"

Loading…
Cancel
Save