Skip to content

Commit

Permalink
Merge pull request CentOS-PaaS-SIG#808 from samvarankashyap/aws_wait_…
Browse files Browse the repository at this point in the history
…timeout
  • Loading branch information
paas-bot committed Nov 29, 2018
2 parents 47849fd + 6c5dd20 commit f5a6149
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linchpin/provision/roles/aws/files/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"security_group": { "type": ["list", "string"], "required": false },
"vpc_subnet_id": { "type": "string", "required": false },
"assign_public_ip": { "type": "boolean", "required": false },
"instance_tags": { "type": "dict", "required": false }
"instance_tags": { "type": "dict", "required": false },
"wait_timeout": { "type": "integer", "required": false }
}
},
{
Expand Down
2 changes: 2 additions & 0 deletions linchpin/provision/roles/aws/tasks/provision_aws_ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
image: "{{ res_def['image'] }}"
region: "{{ res_def['region'] }}"
wait: yes
wait_timeout: "{{ res_def['wait_timeout'] | default(600) }}"
group: "{{ res_def['security_group']| default('default') }}"
count: "{{ res_def['count'] }}"
vpc_subnet_id: "{{ res_def['vpc_subnet_id']| default(omit) }}"
Expand All @@ -41,6 +42,7 @@
image: "{{ res_def['image'] }}"
region: "{{ res_def['region'] }}"
wait: yes
wait_timeout: "{{ res_def['wait_timeout'] | default(600) }}"
group: "{{ res_def['security_group']| default('default') }}"
count: "{{ res_def['count'] }}"
vpc_subnet_id: "{{ res_def['vpc_subnet_id']| default(omit) }}"
Expand Down

0 comments on commit f5a6149

Please sign in to comment.