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:
parent
7b71f3d9c1
commit
e171e23103
4
tox.ini
4
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue