-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy petstore on ECS #238
Conversation
tests/ali_petstore.yml
Outdated
register: petstore | ||
|
||
- debug: | ||
msg: http://{{hostvars[inventory_hostname]['public_ip_address']}}:8081?home |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个里面怎么没有创建实例的过程
a74a8da
to
205e325
Compare
contrib/inventory/alicloud.ini
Outdated
regions = all | ||
#regions = cn-beijing | ||
# regions = all | ||
regions = cn-beijing | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个ini不应该改啊
tests/ali_petstore_create.yml
Outdated
vars: | ||
tags: {For: PetStore, Created: Ansible, From: provider/tests} | ||
name: 'Instance_From_Ansible_Petstore' | ||
number_of_instances: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改成4个
tests/ali_petstore_create.yml
Outdated
number_of_instances: 1 | ||
roles: | ||
- vpc | ||
- vswitch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
创建两个vswitch,每个vsw上两个instance
tests/ali_petstore_create.yml
Outdated
@@ -0,0 +1,13 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个也要放在example这个目录下
eb1fd17
to
47689fc
Compare
No description provided.