Giter Club home page Giter Club logo

terraria_server's Introduction

Ansible Role: terraria_server

An ansible role to automate deployment of Terraria on linux hosts

Configures:

  • a service user
  • start scripts (executed in a screen session)
  • save scripts (executed every 30 minutes)
  • backups (rotated every 720 minutes by default)

Requirements


  • Linux target (this has been tested against Ubuntu 16.04 LTS)
  • Ansible version 2.4.2.0 (others may work, but this version was used for testing)

Role Variables

Minimum Required Variables

You must define the version to deploy as this will obtained from the server file mirror.

terraria_version: 1353

Common Variables

Check out the Getting Started page for Terraria server-specific variables for a common use case (single server, single instance)

All Variables

Documentation on all variables can be found in the wiki

Example Playbook

Calling the role with minimum required terraria_version and a few configured values, relying on defaults for everything else.

---
- hosts: servers
  roles:
  - role: terraria_server
    terraria_version: 1353
    world_name: "WorldOne"
    server_port: 7777

terraria_server's People

Contributors

komish 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.