Use registered variables for locust commands
Since we already have the load balancer vip available, we can use that instead of hardcoding locust to use localhost. Change-Id: I916b14bce56aac94d2810bf96ba15436d6bb2cae
This commit is contained in:
parent
9c39427577
commit
d9220c2d0d
@ -31,7 +31,7 @@
|
||||
- { src: "auth.json" , dest: "/opt/auth.json" }
|
||||
- { src: "locustfile.py" , dest: "/opt/locustfile.py" }
|
||||
- name: Run locust
|
||||
command: locust -f /opt/locustfile.py --no-web --clients=1 --only-summary --host=http://localhost --port=5000 --logfile=/var/log/locust.log
|
||||
command: locust -f /opt/locustfile.py --no-web --clients=1 --only-summary --host={{ keystone_service_publicuri }} --logfile=/var/log/locust.log
|
||||
async: 1000
|
||||
poll: 0
|
||||
register: locust_benchmark
|
||||
|
Loading…
x
Reference in New Issue
Block a user