diff options
author | Kristian Lyngstøl <kly@kly.no> | 2018-03-21 10:43:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 10:43:33 +0100 |
commit | 4eaeb1d7dc6095a2eec1b4711de94f907654547e (patch) | |
tree | 5b4b00409761f44227b9294e0c62f059ab68fae9 /ansible/roles/influx | |
parent | 0016b6612e79cc5b115aae11c7f37ec2a27420e1 (diff) | |
parent | dfc74df8f82d7c295319f3e197cb2d37a8ee6ddd (diff) |
Merge pull request #167 from olemathias/master
Varnish is now installed in the ansible install + chart colors
Diffstat (limited to 'ansible/roles/influx')
-rw-r--r-- | ansible/roles/influx/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/influx/tasks/main.yml b/ansible/roles/influx/tasks/main.yml index 196924f..236c2a9 100644 --- a/ansible/roles/influx/tasks/main.yml +++ b/ansible/roles/influx/tasks/main.yml @@ -1,3 +1,10 @@ +- name: Install apt-packages + apt: + name: "{{ item }}" + state: present + with_items: + apt-transport-https + - name: Import InfluxDB GPG signing key apt_key: url=https://repos.influxdata.com/influxdb.key state=present @@ -10,5 +17,9 @@ - name: Start the InfluxDB service service: name=influxdb state=started +- name: Wait a few seconds for InfluxDB to start + pause: + seconds: 5 + - name: Create database command: /usr/bin/influx -execute 'CREATE DATABASE gondul' |