ansible/roles/influxdb/tasks/main.yml
2020-05-10 04:03:26 -05:00

15 lines
327 B
YAML

#!/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