Jeffrey Zhang 77612f7eed Add collectd in ci to collect system information
Change-Id: Ic5cbdfd4ebca1d907ada5c39f27dc4a7889daa21
2017-12-18 13:08:10 +08:00

15 lines
283 B
YAML

- hosts: all
become: true
roles:
- collectd
tasks:
- name: Install dbus for debian system
apt: name=dbus
when: ansible_os_family == 'Debian'
- name: Install ansible
pip:
name: ansible
when:
- inventory_hostname == "primary"