Collect devstack config files in post.

Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>
Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Co-Authored-By: Andrea Frittoli <andrea.frittoli@gmail.com>

Change-Id: Id9ad3be4be25e699f77d6b5a252f046ce8234f45
This commit is contained in:
Dean Troyer 2017-10-25 16:05:46 -05:00 committed by Andrea Frittoli (andreaf)
parent d37119e797
commit 986cd13a21

View File

@ -1,4 +1,14 @@
- hosts: all
become: True
vars:
devstack_conf_dir: "{{ devstack_base_dir|default('/opt/stack') }}/devstack/"
stage_dir: "{{ devstack_base_dir|default('/opt/stack') }}"
roles:
- export-devstack-journal
- role: stage-output
zuul_copy_output:
{ '{{ devstack_conf_dir }}/local.conf': 'logs',
'{{ devstack_conf_dir }}/.stackenv': 'logs' }
extensions_to_txt:
- conf
- fetch-devstack-log-dir