add task in isolated heartbeat to delete rogue files

This commit is contained in:
AlanCoding
2017-06-19 09:23:02 -04:00
parent dd1a261bc3
commit 1d9f2be0e4
2 changed files with 80 additions and 1 deletions

View File

@@ -12,5 +12,9 @@
tower_capacity:
register: result
- name: Print capacity in escaped string to scrape out
- name: Print capacity in escaped string to scrape
debug: msg="{{ start_delimiter|default('') }}{{ result['capacity'] }}{{ end_delimiter|default('') }}"
- name: Remove any stale temporary files
tower_isolated_cleanup:
cutoff_pk: "{{ cutoff_pk | default(0) }}"