aboutsummaryrefslogtreecommitdiff
path: root/tests/playbooks/pre.yml
blob: 00d471614ca5e1496363b39f25acc09f9919e8f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- hosts: all
  become: true
  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"