Add support for public network name

Change-Id: I4c91cb85be92533e08ee4988d0127daecec8c007
Co-Authored-By: Ghe Rivero <ghe.rivero@gmail.com>
This commit is contained in:
Luz Cazares 2016-10-14 03:05:51 +00:00 committed by Ghe Rivero
parent f426660f75
commit 8ad712ee93
1 changed files with 3 additions and 3 deletions

View File

@ -76,9 +76,9 @@
timeout: 200
flavor: "{{ openstack_flavors[0].id }}"
network: "{{ app_env.private_net_name }}"
auto_ip: yes
userdata: "{{ lookup('file', 'templates/userdata.j2') }}"
security_groups: lampstack_sg
floating_ip_pools: "{{ app_env.public_net_name | default(omit) }}"
meta:
hostname: database
register: database
@ -108,9 +108,9 @@
timeout: 200
flavor: "{{ openstack_flavors[0].id }}"
network: "{{ app_env.private_net_name }}"
auto_ip: yes
userdata: "{{ lookup('file', 'templates/userdata.j2') }}"
security_groups: lampstack_sg
floating_ip_pools: "{{ app_env.public_net_name | default(omit) }}"
meta:
hostname: balancer
register: balancer
@ -151,7 +151,7 @@
timeout: 200
flavor: "{{ openstack_flavors[0].id }}"
network: "{{ app_env.private_net_name }}"
auto_ip: yes
floating_ip_pools: "{{ app_env.public_net_name | default(omit) }}"
userdata: "{{ lookup('file', 'templates/userdata.j2') }}"
security_groups: lampstack_sg
meta: