From 77612f7eed0ca3176327337b71cdb0a0613a2608 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Fri, 15 Dec 2017 16:17:27 +0800 Subject: Add collectd in ci to collect system information Change-Id: Ic5cbdfd4ebca1d907ada5c39f27dc4a7889daa21 --- tests/playbooks/post.yml | 2 ++ tests/playbooks/pre.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml index 345ccab04..8f3735111 100644 --- a/tests/playbooks/post.yml +++ b/tests/playbooks/post.yml @@ -1,4 +1,6 @@ - hosts: all + roles: + - collect-collectd tasks: - shell: cmd: | diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml index 4be5f1375..40f3f1213 100644 --- a/tests/playbooks/pre.yml +++ b/tests/playbooks/pre.yml @@ -1,6 +1,7 @@ - hosts: all become: true - + roles: + - collectd tasks: - name: Install dbus for debian system apt: name=dbus -- cgit v1.2.3