20 lines
372 B
YAML
20 lines
372 B
YAML
---
|
|
- name: Converge
|
|
become: yes
|
|
hosts: all
|
|
vars:
|
|
- collectd_network_server: 192.168.2.240
|
|
- collectd_network_port: 25826
|
|
|
|
pre_tasks:
|
|
- name: Update apt cache
|
|
apt:
|
|
update_cache: yes
|
|
- name: set hostname
|
|
hostname:
|
|
name: vagrantcollectd
|
|
tasks:
|
|
- name: "Include collectd"
|
|
include_role:
|
|
name: "collectd"
|