Run openrc role ahead of rolling test script

The rolling upgrade test script requires a clouds.yaml file to look up
the required authentication information. Run the openstack_openrc role
to create clouds.yaml.

Change-Id: I5e11973029e009c728c2060fedad114efb9adf68
This commit is contained in:
Jimmy McCrory 2018-02-14 11:40:47 -08:00
parent 0c541c2e93
commit 79d89d2192

View File

@ -26,7 +26,9 @@
- "python-keystoneclient"
- "python-glanceclient"
- "openstacksdk"
tasks:
roles:
- openstack_openrc
post_tasks:
- name: Install openstack clients
pip:
name: "{{ upgrade_test_packages }}"
@ -49,9 +51,6 @@
executable: /bin/bash
async: 100000
poll: 0
environment:
OS_AUTH_URL: "{{ keystone_service_publicurl }}"
OS_PASSWORD: "{{ keystone_auth_admin_password }}"
register: rolling_test_benchmark
vars_files:
- common/test-vars.yml