From 4cd2fcf91728badd86397cdbc5e29e23495054d6 Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Fri, 14 Aug 2015 13:01:44 -0500 Subject: [PATCH] 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. --- lib/ansible/modules/cloud/amazon/ec2_vol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_vol.py b/lib/ansible/modules/cloud/amazon/ec2_vol.py index 4b829f7c26e..228bb12cfbc 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vol.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vol.py @@ -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 }}"