805a2192ed
To make overcloud-deploy role support deployment of multiple overcloud stacks using a single undercloud node - we have generalized the vars for stack name and removed hardcoding on "overcloud" name. We also created a new playbook which install two overcloud stack - overcloud and overcloud-two. we also created j2 version of deploy and post-deploy script for overcloud-two stack. Intention is to create a new ci periodic job which test multi overcloud stack deployment, The new ci job will not be executed upstream but rather in periodic only. Change-Id: I353a0497cb4d44f82806381ee0a33b978c86be5f
17 lines
494 B
YAML
17 lines
494 B
YAML
---
|
|
# This makes the overcloudrc file available locally. This file
|
|
# contains credentials for accessing OpenStack API services on the
|
|
# overcloud.
|
|
- name: Copy overcloudrc to ansible host
|
|
fetch:
|
|
flat: true
|
|
src: "{{ stack_name }}rc"
|
|
dest: "{{ local_working_dir }}/{{ stack_name }}rc"
|
|
|
|
- name: Run post-deploy script
|
|
shell: >
|
|
set -o pipefail &&
|
|
{{ working_dir }}/{{ stack_name }}-deploy-post.sh 2>&1 {{ timestamper_cmd }} >
|
|
{{ post_deploy_log }}
|
|
changed_when: true
|