From: Lorin Hochstein Date: Sun, 12 Feb 2017 00:33:35 +0000 (-0800) Subject: fix vpc example X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=057f00c12e723829b0f4e5b12abb9529eccca529;p=ansiblebook.git fix vpc example --- 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 }