~tleguern/ansible-steamcmd

Ansible role for steamcmd, the Steam command line client
Install the acl package on debian-like systems
Try to detect .steam or Steam

clone

read-only
https://git.sr.ht/~tleguern/ansible-steamcmd
read/write
git@git.sr.ht:~tleguern/ansible-steamcmd

You can also use your local clone with git send-email.

#Ansible Role: steamcmd

builds.sr.ht status

An Ansible role that installs steamcmd on a Linux server.

Automatic testing is provided using molecule's delegated driver and https://builds.sr.ht.

#Requirements

None.

#Role Variables

Variable Description Default
steamcmd_download_url URL pointing to the steamcmd archive https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
steamcmd_user User name for steamcmd steam
steamcmd_required_packages Dependencies {{ __steamcmd_required_packages }}
steamcmd_package Name of package {{ __steamcmd_package }}
steamcmd_deb_mirror URL of an APT mirror {{ __steamcmd_deb_mirror }}
steamcmd_repositories APT repositories to enable {{ __steamcmd_repositories }}

#Debian buster

Variable Default
__steamcmd_bin /usr/games/steamcmd
__steamcmd_package steamcmd
__steamcmd_deb_mirror https://deb.debian.org/debian/
__steamcmd_repositories contrib non-free
__steamcmd_required_packages lib32gcc1

#Debian bullseye

Variable Default
__steamcmd_bin /usr/games/steamcmd
__steamcmd_package steamcmd
__steamcmd_deb_mirror https://deb.debian.org/debian/
__steamcmd_repositories contrib non-free
__steamcmd_required_packages lib32gcc1

#RedHat

Variable Default
__steamcmd_bin {{ __steamcmd_bin_path }}/steamcmd
__steamcmd_required_packages [ 'glibc.i686', 'libstdc++.i686' ]
__steamcmd_bin_path Installation directory of steamcmd /usr/local/games
__steamcmd_lib_path Intermediate installation directory of steamcmd

#Ubuntu

Variable Default
__steamcmd_bin /usr/games/steamcmd
__steamcmd_package steamcmd
__steamcmd_deb_mirror http://archive.ubuntu.com/ubuntu/
__steamcmd_repositories multiverse
__steamcmd_required_packages lib32gcc1

#Dependencies

None

#Example Playbook

- hosts: game
  roles:
    - ansible-steamcmd

#License

The MIT License (MIT)

Copyright (c) 2018 Damien Plénard

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

#Contributing

Either send send GitHub pull requests or send patches on SourceHut.

#Author Information

Original work from Damien Plénard with adaptations from Tristan Le Guern.