]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Enable the Ansible task to optionally cleanup after itself. 528/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 18 Jun 2015 16:57:45 +0000 (11:57 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 18 Jun 2015 21:16:08 +0000 (16:16 -0500)
commitc7aca84d63d7a76a167127ce163a35b9ae851f16
tree38aa16f22b74e8f4ce17ab5ed9fdb00e57ff2fc5
parent31942bb120f14c8ed4becf85b6f0676abd863fdb
Enable the Ansible task to optionally cleanup after itself.

If given the config value of ``cleanup`` the ansible task will rerun the
same playbook during the teardown stage with a ``teardown`` var added
with a value of True.  This will allow the playbook to cleanup after
itself during teardown, if the playbook supports this feature.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/task/ansible.py
teuthology/test/task/test_ansible.py