kolla/tests/playbooks/pre.yml

16 lines
287 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"