Add shaker_region
Allow the user to change the region from the group_vars entry instead of the playbook Change-Id: Idc5278e355550ce60af412d712c0cbc3b89e5d82
This commit is contained in:
parent
8aeb443df9
commit
963657e5e4
@ -84,6 +84,7 @@ shaker_port: 5555
|
|||||||
shaker_flavor: m1.small
|
shaker_flavor: m1.small
|
||||||
# Shaker centos image builder template
|
# Shaker centos image builder template
|
||||||
shaker_centos: "{{shaker_venv}}/lib/python2.7/site-packages/shaker/resources/image_builder_templates/centos.yaml"
|
shaker_centos: "{{shaker_venv}}/lib/python2.7/site-packages/shaker/resources/image_builder_templates/centos.yaml"
|
||||||
|
shaker_region: regionOne
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# Browbeat Network Configuration
|
# Browbeat Network Configuration
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
source {{ overcloudrc }}; source {{ shaker_venv }}/bin/activate;
|
source {{ overcloudrc }}; source {{ shaker_venv }}/bin/activate;
|
||||||
shaker-image-builder --flavor-name {{ shaker_flavor }} --image-builder-template
|
shaker-image-builder --flavor-name {{ shaker_flavor }} --image-builder-template
|
||||||
{{ shaker_centos }}
|
{{ shaker_centos }}
|
||||||
--os-region-name regionOne
|
--os-region-name {{ shaker_region }}
|
||||||
become: true
|
become: true
|
||||||
register: image_result
|
register: image_result
|
||||||
failed_when: image_result.rc != 0
|
failed_when: image_result.rc != 0
|
||||||
|
Loading…
Reference in New Issue
Block a user