2022-03-30 19:23:16 +00:00
|
|
|
---
|
|
|
|
- name: Converge
|
|
|
|
become: yes
|
|
|
|
hosts: all
|
|
|
|
vars:
|
|
|
|
- collectd_network_server: 192.168.2.240
|
|
|
|
- collectd_network_port: 25826
|
2022-04-02 06:14:15 +00:00
|
|
|
|
2022-03-30 19:23:16 +00:00
|
|
|
pre_tasks:
|
|
|
|
- name: Update apt cache
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
- name: set hostname
|
|
|
|
hostname:
|
|
|
|
name: vagrantcollectd
|
|
|
|
tasks:
|
|
|
|
- name: "Include collectd"
|
|
|
|
include_role:
|
|
|
|
name: "collectd"
|