factorio-ansible/download.yml

15 lines
311 B
YAML
Raw Permalink Normal View History

2022-04-07 23:10:27 +00:00
---
- name: Setup Factorio
hosts: all
remote_user: root
tasks:
- name: Stop factorio
ansible.builtin.systemd:
state: stopped
name: factorio
- name: Store file /opt/factorio/saves/my-save.zip
ansible.builtin.fetch:
src: /opt/factorio/saves/my-save.zip
dest: "./saves/"