Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tleguern/ansible-role-rcbot2
Ansible role for the RCBot2 plugin
https://github.com/tleguern/ansible-role-rcbot2
ansible ansible-role day-of-defeat-source rcbot2 steam
Last synced: 12 days ago
JSON representation
Ansible role for the RCBot2 plugin
- Host: GitHub
- URL: https://github.com/tleguern/ansible-role-rcbot2
- Owner: tleguern
- License: isc
- Created: 2021-10-25T21:12:36.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T21:48:41.000Z (almost 3 years ago)
- Last Synced: 2024-11-02T09:23:43.487Z (about 2 months ago)
- Topics: ansible, ansible-role, day-of-defeat-source, rcbot2, steam
- Language: Jinja
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
## Requirements
An ansible role dedicated to the installation of SteamCMD such as [ansible-steamcmd](https://github.com/tleguern/ansible-steamcmd).
An ansible role dedicated to the Installation of Metamod:Source such as [ansible-role-metamod-source](https://github.com/tleguern/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](https://github.com/tleguern/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:
```yaml
rcbot2_config: |
rcbot_supermode 1
rcbot_ffa 1
...
```Default values are available [here](https://github.com/APGRoboCop/rcbot2/blob/master/package/config/config.ini).
### `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
```yaml
- 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](https://github.com/tleguern/ansible-role-rcbot2) or [send patches on SourceHut](https://lists.sr.ht/~tleguern/misc).
## Author Information
Tristan Le Guern