Add human readable logging callback plugin for func testing

This should make it easier to understand check and gate
failures by analyzing the logs.

Change-Id: I0783e109f34494580658705a0962ab74da5cc20a
This commit is contained in:
Jesse Pretorius 2016-06-21 20:15:13 +01:00
parent 7b71f3d9c1
commit e171e23103
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@ whitelist_externals =
bash
git
rm
wget
setenv =
VIRTUAL_ENV={envdir}
@ -115,6 +116,9 @@ commands =
rm -rf {homedir}/.ansible
git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
{homedir}/.ansible/plugins
# This plugin makes the ansible-playbook output easier to read
wget -O {homedir}/.ansible/plugins/callback/human_log.py \
https://gist.githubusercontent.com/cliffano/9868180/raw/f360f306b3c6d689734a6aa8773a00edf16a0054/human_log.py
ansible-galaxy install \
--role-file={toxinidir}/tests/ansible-role-requirements.yml \
--force