From 057f00c12e723829b0f4e5b12abb9529eccca529 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sat, 11 Feb 2017 16:33:35 -0800 Subject: [PATCH] fix vpc example --- ch12/playbooks/ec2-vpc-example.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ch12/playbooks/ec2-vpc-example.yml b/ch12/playbooks/ec2-vpc-example.yml index 3e494ac..bb4ea88 100755 --- a/ch12/playbooks/ec2-vpc-example.yml +++ b/ch12/playbooks/ec2-vpc-example.yml @@ -52,7 +52,7 @@ with_file: ~/.ssh/id_rsa.pub - name: web security group ec2_group: - name: vpc-web + name: web region: "{{ region }}" description: allow http and https access vpc_id: "{{ vpc_id }}" @@ -67,7 +67,7 @@ cidr_ip: 0.0.0.0/0 - name: ssh security group ec2_group: - name: vpc-ssh + name: ssh region: "{{ region }}" description: allow ssh access vpc_id: "{{ vpc_id }}" @@ -78,7 +78,7 @@ cidr_ip: 0.0.0.0/0 - name: outbound security group ec2_group: - name: vpc-outbound + name: outbound description: allow outbound connections to the internet region: "{{ region }}" vpc_id: "{{ vpc_id }}" @@ -102,7 +102,7 @@ instance_type: "{{ instance_type }}" assign_public_ip: True key_name: mykey - group: [vpc-web, vpc-ssh, vpc-outbound] + group: [web, ssh, outbound] instance_tags: { Name: book, type: web, env: production } exact_count: "{{ count }}" count_tag: { type: web } -- 2.44.0