Ansible scripts for isucon8-final.
- Ubuntu 18.04 LTS
# edit remote server
$ vim inventory
# edit ansible setting (remote username etc, etc...)
$ vim ansible.cfg
# provisioning
$ ansible-playbook -i inventory bench.yml -K
$ ansible-playbook -i inventory blackbox.yml -K
$ ansible-playbook -i inventory webapp.yml -K
- User: isucon
- Password: isucon
$ systemctl start isucoin.service
$ systemctl start isucoin.blackbox.service
$ cd isucon2018-final/
$ ./bench/bin/bench \
-appep=https://<webapp>
-bankep=https://<blackbox>:5515
-logep=https://<blackbox>:5516
-internalbank=https://<blackbox>:5515
-internallog=https://<blackbox>:5516
-result=result.json
-log=stderr.log
$ cat result.json
{"job_id":"","ip_addrs":"https://<webapp>","pass":true,"score":417,"message":"ok", ...