factorio-ansible/download.yml
2022-04-08 01:10:27 +02:00

15 lines
No EOL
311 B
YAML

---
- 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/"