From 88639ae8bedef64f65a009f0db3d909af96839db Mon Sep 17 00:00:00 2001 From: Daekwon Kim Date: Thu, 9 Apr 2015 19:09:42 +0900 Subject: [PATCH 1/2] Fix typo (volue -> volume) --- cloud/amazon/ec2_vol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_vol.py b/cloud/amazon/ec2_vol.py index b6fca82be9a..e14bb9cc23a 100644 --- a/cloud/amazon/ec2_vol.py +++ b/cloud/amazon/ec2_vol.py @@ -143,7 +143,7 @@ EXAMPLES = ''' with_items: ec2.instances register: ec2_vol -# Example: Launch an instance and then add a volue if not already present +# Example: Launch an instance and then add a volume if not already present # * Nothing will happen if the volume is already attached. # * Volume must exist in the same zone. From 7684059044b0bb4fd7e1091298d1a71a7d379eb3 Mon Sep 17 00:00:00 2001 From: Daekwon Kim Date: Thu, 9 Apr 2015 19:10:49 +0900 Subject: [PATCH 2/2] Fix indent of "register" key --- cloud/amazon/ec2_vol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/amazon/ec2_vol.py b/cloud/amazon/ec2_vol.py index e14bb9cc23a..d4bf3307721 100644 --- a/cloud/amazon/ec2_vol.py +++ b/cloud/amazon/ec2_vol.py @@ -136,12 +136,12 @@ EXAMPLES = ''' image: "{{ image }}" wait: yes count: 3 - register: ec2 + register: ec2 - ec2_vol: instance: "{{ item.id }} " volume_size: 5 with_items: ec2.instances - register: ec2_vol + register: ec2_vol # Example: Launch an instance and then add a volume if not already present # * Nothing will happen if the volume is already attached. @@ -154,7 +154,7 @@ EXAMPLES = ''' id: my_instance wait: yes count: 1 - register: ec2 + register: ec2 - ec2_vol: instance: "{{ item.id }}"