This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new ef7eb05  Fix logs playbook to dump activations db. (#2555)
ef7eb05 is described below

commit ef7eb0530048af0d829c7edd7e7d61a0db766625
Author: rodric rabbah <[email protected]>
AuthorDate: Wed Aug 2 08:01:46 2017 -0400

    Fix logs playbook to dump activations db. (#2555)
---
 ansible/logs.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/ansible/logs.yml b/ansible/logs.yml
index fcfc9ac..1a2786d 100644
--- a/ansible/logs.yml
+++ b/ansible/logs.yml
@@ -12,14 +12,16 @@
     - name: dump entity views
       local_action: shell "{{ openwhisk_home }}/bin/wskadmin" db get whisks 
--docs --view whisks/{{ item }} | tail -n +2 > "{{ openwhisk_home }}/logs/db-{{ 
item }}.log"
       with_items:
-        - activations
         - actions
         - triggers
         - rules
         - packages
       when: "'db' not in exclude_logs_from"
-    - name: dump subjects database
-      local_action: shell "{{ openwhisk_home }}/bin/wskadmin" db get subjects 
--docs | tail -n +2 > "{{ openwhisk_home }}/logs/db-subjects.log"
+    - name: dump activations and subjects database
+      local_action: shell "{{ openwhisk_home }}/bin/wskadmin" db get {{ item 
}} --docs | tail -n +2 > "{{ openwhisk_home }}/logs/db-{{ item }}.log"
+      with_items:
+        - activations
+        - subjects
       when: "'db' not in exclude_logs_from"
 
 - hosts: shared,core,invokers

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to