diff --git a/ansible/roles/influxdb/tasks/main.yml b/ansible/roles/influxdb/tasks/main.yml index 91a2df6a55..b29b9c2d1d 100644 --- a/ansible/roles/influxdb/tasks/main.yml +++ b/ansible/roles/influxdb/tasks/main.yml @@ -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 @@ -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"