aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2017-12-15 16:17:27 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2017-12-18 13:08:10 +0800
commit77612f7eed0ca3176327337b71cdb0a0613a2608 (patch)
tree57046f255c5af3c614d230d5b995fd50cf4e43fc /tests
parent5feb11303351b896afd32643e63e87668a4a795c (diff)
downloadkolla-77612f7eed0ca3176327337b71cdb0a0613a2608.tar.gz
kolla-77612f7eed0ca3176327337b71cdb0a0613a2608.zip
Add collectd in ci to collect system information
Change-Id: Ic5cbdfd4ebca1d907ada5c39f27dc4a7889daa21
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/post.yml2
-rw-r--r--tests/playbooks/pre.yml3
2 files changed, 4 insertions, 1 deletions
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