Commit fcdf13c5 authored by Ross McDonald's avatar Ross McDonald
Browse files

Modified demo writes to use curl over Ansible (platform agnostic, and dependency free minus curl).

parent dde0b0b0
......@@ -9,11 +9,7 @@
when: db_listing.stdout.find("{{ influxdb_sample_database_name }}") == -1
- name: Load demo data
uri:
url: http://{{ influxdb_meta_hostname }}:{{ influxdb_http_port }}/write?db={{ influxdb_sample_database_name }}
method: POST
body: "{{ influxdb_sample_measurement_name }},host=server_{{ 10 | random }},az=US{{ 5 | random }} value={{ 100 | random }}"
status_code: 204
command: "curl -XPOST http://localhost:8086/write?db={{ influxdb_sample_database_name }} --data-binary '{{ influxdb_sample_measurement_name }},host=server_{{ 10 | random }},az=US{{ 5 | random }} value={{ 100 | random }}'"
with_sequence: start=1 end=10
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment