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:
parent
c1526ff87b
commit
4cd2fcf917
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue