ansible/roles/influxdb/tasks/main.yml

15 lines
327 B
YAML
Raw Normal View History

2020-05-10 04:03:26 -05:00
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Install and configure Influxdb
block:
- name: Install influxdb
apt:
name: influxdb
- name: Template out config
template:
src: "influxdb.conf"
dest: "/etc/influxdb/influxdb.conf"
notify: restart influxdb
become: yes