- name: Tidy up after p4benchmark scripts hosts: all remote_user: perforce tasks: - name: Kill locust processes if they exist shell: pkill --full 'locust' || true - name: Remove base directory which has workspaces - see config_p4_bench.yml file: path: /tmp/work state: absent