Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ansible/roles/influxdb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#hostname: name={{ ansible_hostname }}

- name: Import InfluxDB GPG signing key
apt_key: url=https://repos.influxdata.com/influxdb.key state=present
apt_key: url=https://repos.influxdata.com/influxdata-archive_compat.key state=present

- name: Add InfluxDB repository
apt_repository: repo='deb https://repos.influxdata.com/ubuntu trusty stable' state=present
Expand All @@ -12,6 +12,10 @@
apt: name=influxdb state=present
notify: restart influxdb service

- name: Install InfluxDB client packages
apt: name=influxdb-client state=present
notify: restart influxdb service

- name: Replace InfluxDB cluster configuration
template:
dest: "/etc/influxdb/influxdb.conf"
Expand Down