system-config/playbooks/clean_workspaces.yaml
Monty Taylor d039a62045 Move playbooks out of the puppet module
/etc/ansible/playbooks isn't actually a thing, it was just a convenient
place to put things. However, to enable puppet apply, we're going to
want a group_vars directory adjacent to the playbooks, so having them be
a subdirectory of the puppet module and installed by it is just extra
complexity. Also, if we run out of system-config, then it'll be easier
to work with things like what we do with puppet environments for testing
things.

Change-Id: I947521a73051a44036e7f4c45ce74a79637f5a8b
2015-10-30 11:31:05 +09:00

5 lines
103 B
YAML

---
- hosts: '*.slave.openstack.org'
tasks:
- shell: 'rm -rf ~jenkins/workspace/*{{ project }}*'