ansible-role-refstack-client/playbooks/refstack-client-devstack.yaml
Martin Kopec e5a1eb4c87 Reflect x/ to openinfra/ namespace move
Lately ansible-role-refstack-client got moved from x/ namespace
to openinfra/ [1] one, this commit reflects that change.

[1] https://review.opendev.org/c/openstack/project-config/+/765787

Change-Id: Ifba099ebac6ae4498cc088cb1062dc895e3b443a
2021-10-18 09:21:24 +00:00

33 lines
1.3 KiB
YAML

---
- hosts: all
roles:
# the role is inherited from openstack/devstack project
- run-devstack
- hosts: tempest
vars:
devstack_base_dir: "/opt/stack"
tasks:
# NOTE: devstack jobs are failing on Run Tempest task
# it is because tox command is not found. Adding 'ensure-tox'
# role here to make sure that tox is installed and it
# will not break the tempest tests.
- name: Ensure tox is installed
include_role:
name: ensure-tox
vars:
ensure_global_symlinks: true
- include_vars: ../defaults/main.yaml
- name: Run ansible-role-refstack-client
include_tasks: ../tasks/main.yaml
vars:
refstack_client_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/refstack-client'].src_dir }}"
tempestconf_source: "/home/zuul/{{ zuul.projects['opendev.org/openinfra/python-tempestconf'].src_dir }}"
source_credentials: "{{ devstack_base_dir }}/devstack/openrc demo demo"
source_admin_credentials: "{{ devstack_base_dir }}/devstack/openrc admin admin"
# not all backends support shrinking shares, LVM one which is used in
# this job does not support the shrinking feature
additional_tempestconf_params: "auth.tempest_roles Member object-storage.operator_role Member share.run_shrink_tests False"