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