post_bench.yml #3

  • //
  • guest/
  • robert_cowham/
  • p4benchmark/
  • main/
  • post_bench.yml
  • View
  • Commits
  • Open Download .zip Download (554 B)
- name: Tidy up after p4benchmark scripts
  hosts: all
  remote_user: ir
  tasks:

  - name: Processes exist
    shell: pgrep locust
    register: pkill_result

  - name: Kill processes
    shell: pkill -9 locust
    ignore_errors: True

  - name: Check that the dir exists
    stat:
      path: /remote/p4-clients/work
    register: stat_result

  - name: Remove tmp dirs using fast remove
    shell: mv /remote/p4-clients/work /remote/p4-clients/.fast-remove
    with_inventory_hostnames: irp210-h09
    when: stat_result.stat.exists
    become: true

# Change User Description Committed
#6 24711 Robert Cowham Restructure and tidy up
#5 24690 Robert Cowham Tweak analyse better.
Fix deletion of workspaces root
#4 24687 Robert Cowham Got analysis working
#3 22003 Robert Cowham Latest state - with p4python and no syncing
#2 21897 Robert Cowham Handle edge servers too
#1 21763 Robert Cowham Latest playbooks