GithubHelp home page GithubHelp logo

tleguern / ansible-role-rcbot2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11 KB

Ansible role for the RCBot2 plugin

License: ISC License

Jinja 100.00%
ansible steam ansible-role day-of-defeat-source rcbot2

ansible-role-rcbot2's Introduction

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 [email protected]

ansible-role-rcbot2's People

Contributors

tleguern avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.