From 6a8108133ddcb7ac0450c0f0894948eca30b363e 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. --- cloud/amazon/ec2_vol.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/amazon/ec2_vol.py b/cloud/amazon/ec2_vol.py index 4b829f7c26e..228bb12cfbc 100644 --- a/cloud/amazon/ec2_vol.py +++ b/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 }}"