]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
A callback plugin that logs failure message
authorAndrew Schoen <aschoen@redhat.com>
Mon, 3 Aug 2015 19:52:49 +0000 (14:52 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 4 Aug 2015 19:27:51 +0000 (14:27 -0500)
commit1b8786bfd922c52e63c10153ecb6fb8d868b78f4
tree5c0f359b33f84a3990bc9f038ba9be7c826f53a8
parent788c14f263045242977e71d1e13a75507b726a6d
A callback plugin that logs failure message

This callback plugin is called on every failure and prints out the
failure information as yaml so that it's easier to read in the
teuthology logs.

If the environment variable ANSIBLE_FAILURE_LOG is present then a log of
all failures in the playbook will be persisted to the file
path given in the ANSIBLE_FAILURE_LOG.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
.gitignore
callback_plugins/failure_log.py [new file with mode: 0644]