12 lines
399 B
YAML
12 lines
399 B
YAML
- name: Get influxdb info
|
|
set_fact:
|
|
influxdb_info: '{{ lookup("passwordstore", "vm/"~influxdb_host, returnall=true, missing="empty") | from_yaml }}'
|
|
|
|
- name: Create influxdb token for this host
|
|
include_tasks: token.yml
|
|
when: 'not ansible_check_mode and "influxdb_token" not in password'
|
|
|
|
- name: Install telegraf on Debian
|
|
include_tasks: debian.yml
|
|
when: ansible_os_family == "Debian"
|