switch the order to be consistent with book
authorLorin Hochstein <lorin.hochstein@sendgrid.com>
Sun, 8 Feb 2015 22:55:01 +0000 (17:55 -0500)
committerLorin Hochstein <lorin.hochstein@sendgrid.com>
Sun, 8 Feb 2015 22:55:06 +0000 (17:55 -0500)
ch12/playbooks/ec2-example.yml

index fbc6345..24996d0 100644 (file)
@@ -4,7 +4,7 @@
   vars:
     region: us-west-1
     instance_type: t2.micro
-    count: 3
+    count: 1
   tasks:
   - name: ec2 keypair
     ec2_key: name=mykey key_material="{{ item }}" region={{ region }}
@@ -50,7 +50,7 @@
       image: "{{ ubuntu_image.ami }}"
       instance_type: "{{ instance_type }}"
       key_name: mykey
-      group: [outbound, web, ssh]
+      group: [web, ssh, outbound]
       instance_tags: { Name: ansiblebook, type: web, env: production }
       exact_count: "{{ count }}"
       count_tag: { type: web }