Skip to content

Commit

Permalink
Remove interim task added for Influxdb (#380)
Browse files Browse the repository at this point in the history
Co-authored-by: Karthick Narendran <kanarend@microsoft.com>
  • Loading branch information
karthick-rn and Karthick Narendran authored Oct 22, 2020
1 parent 901d3c0 commit c6dd9bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ansible/roles/influxdb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@
- setup influxdb
- name: "download fluo setup"
get_url: url=https://raw.githubusercontent.com/apache/fluo/main/contrib/influxdb/fluo_metrics_setup.txt dest=/etc/influxdb/fluo_metrics_setup.txt

# Added the below task because of https://github.com/influxdata/influxdb/issues/5707. Will manually remove
# 'IF NOT EXISTS' from the file once Influxdb upgraded in Fluo and the task may no longer be needed.
- name: "Remove IF NOT EXISTS from create database command"
replace:
path: /etc/influxdb/fluo_metrics_setup.txt
regexp: 'IF NOT EXISTS '
- name: "create data dir"
file: path={{ default_data_dirs[0] }}/influxdb state=directory owner=influxdb group=influxdb
- name: "ensure influxdb is running (and enable it at boot)"
Expand Down

0 comments on commit c6dd9bf

Please sign in to comment.