Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible-examples.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Johnson <dave@ansible.com>2016-07-29 01:05:54 +0300
committerDave Johnson <dave@ansible.com>2016-07-29 01:05:54 +0300
commit3e6a9a373bf55dd1db4aec0d666c88a4846b3acd (patch)
tree82f622d6f26b86b40a71d6579628ec42bc954d45
parente5a3c162d4ad4a71d4a5b1f9a7bed7bfff2319f7 (diff)
Fixed typo
-rw-r--r--lamp_haproxy/aws/demo-aws-launch.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/lamp_haproxy/aws/demo-aws-launch.yml b/lamp_haproxy/aws/demo-aws-launch.yml
index b85de43..f90eabf 100644
--- a/lamp_haproxy/aws/demo-aws-launch.yml
+++ b/lamp_haproxy/aws/demo-aws-launch.yml
@@ -8,7 +8,7 @@
# load AWS variables from this group vars file
vars_files:
- group_vars/all
-
+
tasks:
- name: Launch webserver instances
ec2:
@@ -35,7 +35,7 @@
region: "{{ ec2_region }}"
instance_tags: "{'ansible_group':'{{ ec2_tag_dbservers }}', 'type':'{{ ec2_instance_type }}', 'group':'{{ ec2_security_group }}', 'Name':'demo_''{{ tower_user_name }}'}"
count: "1"
- wait=true
+ wait: true
register: ec2
- name: Launch load balancing instance
@@ -68,9 +68,9 @@
- name: Wait for SSH to come up
wait_for:
- host: {{ item.public_dns_name }}
- port: 22
- delay: 60
- timeout: 320
+ host: "{{ item.public_dns_name }}"
+ port: 22
+ delay: 60
+ timeout: 320
state: started
- with_items: ec2.instances
+ with_items: "{{ ec2.instances }}"