nautik1.teeworlds

Ansible-Teeworlds

这个角色帮助安装 Teeworlds 服务器。

要求

任何基于 Debian 的 Linux 系统,使用 systemd,最好是 Ubuntu 20.04。

测试过的版本:

  • Teeworlds 0.7.5
  • Ansible 2.9.7
  • Ubuntu 20.04 在 Gandi Cloud

角色变量

变量 描述 示例
teeworlds_version 要下载和安装的 Teeworlds 服务器版本 0.7.5
teeworlds_server_name 在游戏中显示的服务器名称 另一个 teeworlds 服务器
install_path 安装 Teeworlds 的服务器路径 /opt/teeworlds
extra_configs 任何额外的 Teeworlds 配置。查看 https://www.teeworlds.com/?page=docs&wiki=server_settings extra_configs: | sv_max_clients 15

依赖

未使用任何外部角色;Teeworlds 服务器从 https://downloads.teeworlds.com 下载。

示例剧本和清单

示例剧本:

    - name: 安装 Teeworld
      hosts: all
      roles:
        - nautik1.teeworlds

示例清单:

all:
  hosts:
    <ip-or-host名>:
  vars:
    teeworlds_version: 0.7.5
    teeworlds_server_name: 另一个 teeworlds 服务器
    install_path: /opt/teeworlds
    extra_configs: |
      sv_max_clients 15

许可证

WTFPL

关于项目

This role helps installing a Teeworlds server.

安装
ansible-galaxy install nautik1.teeworlds
许可证
Unknown
下载
204
拥有者
https://1x.engineer