From 63171eeae238c09cbda8c37fc55af0cd43edd82c Mon Sep 17 00:00:00 2001 From: "Andrea Frittoli (andreaf)" Date: Wed, 31 Jan 2018 21:01:36 +0000 Subject: [PATCH] Move extensions_to_txt to the job defintion Move extensions_to_txt to the job defintion so that it may be extended by descendant jobs. Depends-on: https://review.openstack.org/540485/ Change-Id: I6e9009faa1451698ed781ce1ffdd9f22c97daa93 --- .zuul.yaml | 6 ++++++ playbooks/post.yaml | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 0de71f7c5f..8fe4535814 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -111,6 +111,12 @@ '/etc/glusterfs/glusterd.vol': 'logs' '/etc/resolv.conf': 'logs' '/var/log/unbound.log': 'logs' + extensions_to_txt: + conf: True + log: True + localrc: True + stackenv: True + summary: True pre-run: playbooks/pre.yaml run: playbooks/devstack.yaml post-run: playbooks/post.yaml diff --git a/playbooks/post.yaml b/playbooks/post.yaml index d8ee99e783..9e66f20e9e 100644 --- a/playbooks/post.yaml +++ b/playbooks/post.yaml @@ -24,12 +24,6 @@ # capture-system-logs should be the last role before stage-output - capture-system-logs - role: stage-output - extensions_to_txt: - - conf - - log - - localrc - - stackenv - - summary # NOTE(andreaf) We need fetch-devstack-log-dir only as long as the base job # starts pulling logs for us from {{ ansible_user_dir }}/logs. # Meanwhile we already store things in ansible_user_dir and use