python-tempestconf/roles/generate-accounts-file
Chandan Kumar f5bfc21351 Use healthcheck api to determine swift service
* Added check_service_status to determine the service
  availability and later on it will be used for all services.

* Removed hardcoded values for swift services
* As swift was disabled earlier, SwiftOperator was not getting used
  and it is not present in the CI Job, let's use member role for
  the same.
* Set operator_role default to admin if admin credential is available
  otherwise, set operator_role to ResellerAdmin
* Do not fail if a conflict exist in roles names

Story: 2001253
Task: 5783

Co-Authored-By: Arx Cruz <arxcruz@redhat.com>
Depends-On: https://review.openstack.org/#/c/576472/
Closes-Bug: 1776729
Change-Id: Ie1e9d8e98fde460f9270c2799f971ea017d10d84
2018-06-21 11:32:35 +02:00
..
defaults Use healthcheck api to determine swift service 2018-06-21 11:32:35 +02:00
tasks Use --non-admin for non admin users in zuul jobs 2018-04-20 21:16:54 +00:00
README.rst Improve role docs, remove unused var 2018-05-07 09:20:56 +00:00

Generate accounts.yaml file for tempest

Installs tempest cloned from git and generates accounts.yaml file. accounts.yaml file will be saved inside the cloned folder in etc/ subfolder.

The tempest configuration file, which is needed to generate tempest accounts.yaml file will be copied into etc/ as well, however it will be renamed to tempest_admin.conf so that, it doesn't conflict with tempest.conf which may be there.

Role Variables