Ansible_workstation/roles/collectd/molecule/default/converge.yml

21 lines
419 B
YAML
Raw Permalink Normal View History

2022-03-30 19:23:16 +00:00
---
- name: Converge
become: yes
hosts: all
vars:
- collectd_network_server: testvagrant
- 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"