rcbot2
Ansible Role RCBot2
An Ansible role that installs, upgrades and configures the RCBot2 plugin for Source games Team Fortress 2, Day of Defeat: Source, Half-Life 2: Deathmatch and some others. Please note that this role has only been tested with Day of Defeat: Source.
For more information please check this project's official web page: http://rcbot.bots-united.com
Requirements
An ansible role dedicated to the installation of SteamCMD such as ansible-steamcmd.
An ansible role dedicated to the Installation of Metamod:Source such as ansible-role-metamod-source.
An ansible role dedicated to the installation of a Source game like Day of Defeat: Source such as ansible-role-dod-source.
Role Variables
Variable | Description | Default |
---|---|---|
steamcmd_user |
User name for steamcmd | steam |
rcbot2_url |
Download mirror | https://github.com/APGRoboCop/rcbot2/releases/download/ |
rcbot2_version |
RCBot2 version, consider this option to be read only | 1.4 |
rcbot2_target |
Archive name | rcbot2_linux.tar.gz |
rcbot2_install_path |
Installation directory | mandatory |
rcbot2_config |
Main configuration file content | "" |
rcbot2_waypoints_directory |
Local directory containing waypoints for the bots | "" |
rcbot2_waypoints_game |
Subdirectory for waypoints installation, can be dod , hl2mp , tf or "" |
"" |
rcbot2_config
This variable holds the content of the main configuration file.
Example:
rcbot2_config: |
rcbot_supermode 1
rcbot_ffa 1
...
Default values are available here.
rcbot2_waypoints_directory
This variable should point to a directory containing a subfolder named after {{ rcbot2_waypoints_game }}
.
Failing to do so will create a wrong file hierarchy and rcbot2 will fail to lookup the waypoints.
Dependencies
None.
Example Playbook
- hosts: game
vars:
rcbot2_waypoints_directory: files/waypoints
rcbot2_install_path: "/home/{{ steamcmd_user }}/.steam/steamapps/common/Day of Defeat Source Dedicated Server/dod"
pre_tasks:
- package:
name: acl
state: present
roles:
- role: tleguern.steamcmd
- role: tleguern.dod-source
- role: tleguern.metamod-source
- role: tleguern.rcbot2
License
ISC
Contributing
Either send send GitHub pull requests or send patches on SourceHut.
Author Information
Tristan Le Guern tleguern@bouledef.eu
ansible-galaxy install tleguern/ansible-role-rcbot2