Install TORCS Simulated Car Racing Championship
https://arxiv.org/abs/1304.1672
This was tested in VirtualBox using Desktop Ubuntu 16.04.2 LTS.
Installing TORCS:
-
Create
inventory.yml
and add the following:[servers] server ansible_port=22 ansible_host=<ip addr>
-
Create
torcs-scr-playbook.yml
and add the following:- hosts: servers roles: - { role: ansible-torcs-scr}
-
Run this command (update the user as necessary):
ansible-playbook -i inventory.yml -K --user=torcs torcs-scr-playbook.yml
Running TORCS:
- Run TORCS:
torcs
- Select Race->Quick Race->New Race
- In a second terminal, run:
$HOME/torcs-1.3.5/scr-client-cpp/client
None
Defaults
torcs_version: 1.3.5
torcs_src_dir: "{{ansible_env.HOME}}/torcs-{{ torcs_version }}"
Requires sudo.
- hosts: servers
roles:
- { role: ansible-torcs-scr}
BSD