From 5eea113b93b9724ab80ba6a503214e51a4c1ffa3 Mon Sep 17 00:00:00 2001 From: "Ole Mathias Aa. Heggem" Date: Mon, 6 Nov 2017 00:21:39 +0100 Subject: A few typos --- ansible/roles/influx/tasks/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ansible/roles/influx/tasks/main.yml (limited to 'ansible/roles/influx/tasks') diff --git a/ansible/roles/influx/tasks/main.yml b/ansible/roles/influx/tasks/main.yml new file mode 100644 index 0000000..196924f --- /dev/null +++ b/ansible/roles/influx/tasks/main.yml @@ -0,0 +1,14 @@ +- name: Import InfluxDB GPG signing key + apt_key: url=https://repos.influxdata.com/influxdb.key state=present + +- name: Add InfluxDB repository + apt_repository: repo='deb https://repos.influxdata.com/debian jessie stable' state=present + +- name: Install InfluxDB packages + apt: name=influxdb state=present update_cache=yes + +- name: Start the InfluxDB service + service: name=influxdb state=started + +- name: Create database + command: /usr/bin/influx -execute 'CREATE DATABASE gondul' -- cgit v1.2.3