diff options
author | Ole Mathias Aa. Heggem <msbone1995@gmail.com> | 2017-11-06 00:21:39 +0100 |
---|---|---|
committer | Ole Mathias Aa. Heggem <msbone1995@gmail.com> | 2017-11-06 00:21:39 +0100 |
commit | 5eea113b93b9724ab80ba6a503214e51a4c1ffa3 (patch) | |
tree | f915c2af0e621eda4042e5cf64fa3d5341c5d5ab /ansible/roles/influx/tasks | |
parent | eabcf10ede6f9eee77b85f537cef023f89111f9d (diff) |
A few typos
Diffstat (limited to 'ansible/roles/influx/tasks')
-rw-r--r-- | ansible/roles/influx/tasks/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
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' |