obihoernchen.lgsm

Ansible Role: LinuxGSM

Ansible Galaxy Version Quality Downloads

This Ansible role is for installing Linux Game Server Managers. It is set up by default to install CS:GO (Counter-Strike: Global Offensive).

It has been tested with Red Hat operating systems.

Example Playbook

Here is a simple playbook to set up a CS:GO server:

---
- name: Setup CS:GO Server
  hosts: all
  become: yes

  roles:
    - obihoernchen.lgsm

Role Variables

These variables can be found in defaults/main.yml:

---
# Works only with Red Hat OS family
lgsm_required_packages:
  - epel-release
  - curl
  - wget
  - tar
  - bzip2
  - gzip
  - unzip
  - util-linux
  - file
  - python3
  - binutils
  - bc
  - jq
  - tmux
  - glibc.i686
  - libstdc++
  - libstdc++.i686
  - nmap-ncat
lgsm_user: lgsm_admin
lgsm_group: lgsm_admin
lgsm_additional_groups: ""
lgsm_comment: Linux Game Server Manager
lgsm_installdir: /opt/lgsm
lgsm_installer_url: https://linuxgsm.sh
lgsm_installer_name: linuxgsm.sh
lgsm_install_server: false
lgsm_server: csgoserver
lgsm_server_config: "{{ lgsm_installdir }}/lgsm/config-lgsm/{{ lgsm_server }}/{{ lgsm_server }}.cfg"
lgsm_install_crons: true

# This section sets the configuration for the game server
lgsm_server_config_content:
  # Game Server Login Token (GSLT): Required for running a public server.
  gslt: ""

  # Predefined Game Parameters
  gametype: "0"
  gamemode: "1"
  mapgroup: "mg_active"
  ip: "0.0.0.0"
  port: "27015"
  clientport: "27005"
  sourcetvport: "27020"
  defaultmap: "de_mirage"
  maxplayers: "16"
  tickrate: "64"

  # Update settings | Make sure the server updates when started
  updateonstart: "on"

Requirements

None

License

MIT License

Author Information

Informazioni sul progetto

Ansible role for Linux Game Server Mangers (LinuxGSM) install.

Installa
ansible-galaxy install obihoernchen.lgsm
Licenza
Unknown
Download
114
Proprietario