diff options
author | Julien Dessaux | 2024-09-26 00:36:48 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-09-26 00:37:45 +0200 |
commit | 27e8b4499c21d597a9cf99bfe98fc77ba3e55cdc (patch) | |
tree | 1b802d77e5c78268feebe38eb0c5b3f10d7607c2 /content/blog | |
parent | add factorio with ansible blog article (diff) | |
download | www-27e8b4499c21d597a9cf99bfe98fc77ba3e55cdc.tar.gz www-27e8b4499c21d597a9cf99bfe98fc77ba3e55cdc.tar.bz2 www-27e8b4499c21d597a9cf99bfe98fc77ba3e55cdc.zip |
added forgotten backups section in last article
Diffstat (limited to 'content/blog')
-rw-r--r-- | content/blog/ansible/factorio.md | 17 |
1 files changed, 17 insertions, 0 deletions
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: |