Merge "adds the config_template to tempest"

This commit is contained in:
Jenkins 2015-09-21 15:37:54 +00:00 committed by Gerrit Code Review
commit bc18cd4cfc
2 changed files with 20 additions and 1 deletions

View File

@ -107,3 +107,6 @@ tempest_images:
tempest_enable_instance_password: True
tempest_pip_instructions: "--isolated"
## Tunable overrides
tempest_tempest_conf_overrides: {}

View File

@ -78,6 +78,23 @@
- tempest-image
- tempest-image-unarchive
- name: Copy tempest config
config_template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: "root"
group: "root"
mode: "0644"
config_overrides: "{{ item.config_overrides }}"
config_type: "{{ item.config_type }}"
with_items:
- src: "tempest.conf.j2"
dest: "{{ tempest_git_dest }}/etc/tempest.conf"
config_overrides: "{{ tempest_tempest_conf_overrides }}"
config_type: "ini"
tags:
- tempest-config
- name: Generate tempest Config
template:
src: "{{ item.src }}"
@ -86,7 +103,6 @@
group: "root"
mode: "{{ item.mode|default('0644') }}"
with_items:
- { src: "tempest.conf.j2", dest: "{{ tempest_git_dest }}/etc/tempest.conf" }
- { src: openstack_tempest_gate.sh.j2, dest: /opt/openstack_tempest_gate.sh, mode: "0755" }
tags:
- tempest-config