From 27e8b4499c21d597a9cf99bfe98fc77ba3e55cdc Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 26 Sep 2024 00:36:48 +0200 Subject: added forgotten backups section in last article --- content/blog/ansible/factorio.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'content') diff --git a/content/blog/ansible/factorio.md b/content/blog/ansible/factorio.md index c4fad35..08e2827 100644 --- a/content/blog/ansible/factorio.md +++ b/content/blog/ansible/factorio.md @@ -208,6 +208,23 @@ Finally I start and activate the factorio service on boot: state: 'started' ``` +### Backups + +I invoke a personal borg role to configure my backups. I will detail the workings of this role in a next article: +``` yaml +- include_role: + name: 'borg' + tasks_from: 'client' + vars: + client: + jobs: + - name: 'save' + paths: + - '/srv/factorio/factorio/saves/game.zip' + name: 'factorio' + server: '{{ factorio.borg }}' +``` + ## Handlers I have these two handlers: -- cgit v1.2.3