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
parent 8ff80c2c91
commit 6a8108133d

View file

@ -146,6 +146,7 @@ EXAMPLES = '''
# 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.
# * Nothing will happen if the volume is already attached.
# * Requires Ansible 2.0
- ec2:
keypair: "{{ keypair }}"