/ansible-role-factorio

Factorio Ansible Role

Primary LanguageShellMIT LicenseMIT

Factorio Ansible Role CircleCI Ansible Role

Install and configure Factorio, including factorio-init and factorio-updater.

This role isn't 100%. factorio-init needs some work and maybe some other things I don't recall.

Contributions welcomed!

Vars

  • You can check the possible variables in defaults/main.yml
  • Most common ones (with default values):
factorio_version: 0.14.20
factorio_port: 34197
factorio_latency: 250
factorio_autosave_interval: 10
factorio_server_settings: game.json
factorio_bin_args: "--disallow-commands"

Usage / example playbook

---
- name: My Factorio server
  hosts: my_factorio
  become: yes

  vars:
    factorio_server_settings: myfactorioconfigs.json

  roles:
    - factorio

Footnote

Somewhat inspired by caspark/ansible-factorio et al