Commit 7e6ff5fa authored by Ross McDonald's avatar Ross McDonald
Browse files

Added sample stress configuration.

parent 9ee23568
......@@ -40,3 +40,6 @@
- include: verify.yml
tags: [influxdb, verify]
- include: stress.yml
tags: [influxdb, stress]
---
- name: Set templated stress configuration
templates:
src: stress/stress_nightly_round_robin_autoprovision.toml
dest: /etc/influxdb/stress.toml
when: influxdb_run_stress
- name: Run stress tool
command: influx_stress -config /etc/influxdb/stress.toml
when: influxdb_run_stress
......@@ -11,7 +11,7 @@ is_vagrant: no
influxdb_install_url:
# Whether or not to purge peer data on each run (useful for cluster testing). NOTE: This will
# cause data loss on an active cluster, so use caution
# cause catastrophic data loss on an active cluster/instance, so use caution.
influxdb_purge_peer_data: no
# If yes, service will be started. Will not be started if set to no.
......@@ -20,6 +20,9 @@ influxdb_start_service: yes
# If yes, will overwrite the packaged configuration with an Asnible/jinja2 template
influxdb_template_configuration: yes
# If yes, will run a templatized stress test against a target instance
influxdb_run_stress: no
# If supplied, will check for presence of database, and error if not found (useful for upgrade
# testing).
influxdb_verify_database_is_present:
......
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