commit | a2625ef215c09fb71e10671bc1fc0498262983f1 | [log] [tgz] |
---|---|---|
author | Carlos Frias <friasc@google.com> | Thu Mar 23 11:36:15 2017 -0400 |
committer | Carlos Frias <friasc@google.com> | Thu Mar 23 11:36:15 2017 -0400 |
tree | 009cd128119465f07ee1ce2816a2a35b4864c1e6 | |
parent | 669a3812050eb21cc679abb0e455dac248f39922 [diff] |
added flag to clear edge logs if desired
diff --git a/tasks/main.yml b/tasks/main.yml index ef5c845..c27f99f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -126,3 +126,13 @@ poll: 0 when: remove_apigee is defined and remove_apigee + +- block: + - name: Clear Edge logs on rollback + find: + path: '{{ apigee_installation_home }}' + pattern: '*.log' + file_type: 'file' + register: tmp_log_files + + when: clear_logs is defined and clear_logs \ No newline at end of file