Merge "Replace yum with package on validate-tempest"
This commit is contained in:
commit
4c87f1f678
|
@ -1,29 +1,35 @@
|
||||||
---
|
---
|
||||||
- name: Install openstack services tempest plugin
|
- name: Install openstack services tempest plugin
|
||||||
package: name={{ item }} state=present
|
package:
|
||||||
|
name:
|
||||||
|
- python-ceilometer-tests
|
||||||
|
- python-zaqar-tests
|
||||||
|
- python-ironic-inspector-tests
|
||||||
|
- python-gnocchi-tests
|
||||||
|
- python-aodh-tests
|
||||||
|
- python-mistral-tests
|
||||||
|
- python-heat-tests
|
||||||
|
- python-keystone-tests
|
||||||
|
- python-ironic-tests
|
||||||
|
- python-neutron-tests
|
||||||
|
- python-cinder-tests
|
||||||
|
state: present
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
|
||||||
- python-ceilometer-tests
|
|
||||||
- python-zaqar-tests
|
|
||||||
- python-ironic-inspector-tests
|
|
||||||
- python-gnocchi-tests
|
|
||||||
- python-aodh-tests
|
|
||||||
- python-mistral-tests
|
|
||||||
- python-heat-tests
|
|
||||||
- python-keystone-tests
|
|
||||||
- python-ironic-tests
|
|
||||||
- python-neutron-tests
|
|
||||||
- python-cinder-tests
|
|
||||||
when: release == 'newton'
|
when: release == 'newton'
|
||||||
|
|
||||||
- name: Install openstack services tempest plugins
|
- name: Install openstack services tempest plugins
|
||||||
yum: state=latest name={{ item }}
|
package:
|
||||||
|
state: latest
|
||||||
|
name: "{{ item }}"
|
||||||
with_items: "{{ tempest_plugins }}"
|
with_items: "{{ tempest_plugins }}"
|
||||||
become: yes
|
become: true
|
||||||
when: tempest_plugins|length > 0
|
when: tempest_plugins|length > 0
|
||||||
|
|
||||||
- name: Install openstack tempest
|
- name: Install openstack tempest
|
||||||
package: name={{ item }} state=present
|
package:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
become: true
|
become: true
|
||||||
with_items:
|
with_items:
|
||||||
- openstack-tempest
|
- openstack-tempest
|
||||||
|
@ -38,8 +44,8 @@
|
||||||
|
|
||||||
- name: Set tempest init command
|
- name: Set tempest init command
|
||||||
set_fact:
|
set_fact:
|
||||||
tempest_init: "{% if release == 'newton' %}/usr/share/openstack-tempest-*/tools/configure-tempest-directory{% else %}tempest init {{ tempest_dir }}{% endif %}"
|
tempest_init: "{% if release == 'newton' %}/usr/share/openstack-tempest-*/tools/configure-tempest-directory{% else %}tempest init {{ tempest_dir }}{% endif %}"
|
||||||
|
|
||||||
- name: Set tempestconf call
|
- name: Set tempestconf call
|
||||||
set_fact:
|
set_fact:
|
||||||
tempestconf: "{% if release == 'newton' %}{{ tempest_dir }}/tools/config_tempest.py{% else %}/usr/bin/discover-tempest-config{% endif %}"
|
tempestconf: "{% if release == 'newton' %}{{ tempest_dir }}/tools/config_tempest.py{% else %}/usr/bin/discover-tempest-config{% endif %}"
|
||||||
|
|
Loading…
Reference in New Issue