commit | 3e5b9eee5b7587f7cfc3741c72e02ef7b35cc49c | [log] [tgz] |
---|---|---|
author | Carlos Frias <friasc@google.com> | Fri Mar 03 12:38:31 2017 -0500 |
committer | Carlos Frias <friasc@google.com> | Fri Mar 03 12:38:31 2017 -0500 |
tree | c4ee0e28fe3478bebde4075860a581ad07de8c7e | |
parent | 87ec8dc8560ca8c54b33f48485b6340ba99c2e57 [diff] |
updated to do nodetool flush prior to other work
diff --git a/tasks/main.yml b/tasks/main.yml index 4160ffe..1265ba1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -1,7 +1,11 @@ --- # tasks file for apigee-opdk-extension-ds +- name: Nodetool flush + shell: '{{ nodetool }} flush' + environment: + JAVA_HOME: '{{ java_home }}' -- name: Repair Cassandra nodes +- name: Streaming repair Cassandra nodes shell: '{{ nodetool }} repair -pr' environment: JAVA_HOME: '{{ java_home }}'