Updated last blog article

This commit is contained in:
Julien Dessaux 2023-01-24 17:32:19 +01:00
parent 7d34bfeeca
commit 076a4ec391
Signed by: adyxax
GPG key ID: F92E51B86E07177E
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,7 @@ description: The ansible role I wrote to manage my borg backups
tags: tags:
- ansible - ansible
- backups - backups
- borg
--- ---
## Introduction ## Introduction

View file

@ -26,6 +26,15 @@ I wanted a role to install and configure syncthing for me and did not find an ex
- the validation of host_vars which virtually no role in the wild ever does - the validation of host_vars which virtually no role in the wild ever does
- the ability to manage an additional inventory file for devices which ansible cannot manage (like my phone) - the ability to manage an additional inventory file for devices which ansible cannot manage (like my phone)
## Dependencies
This role relies on `doas` being installed and configured so that your ansible user can run the syncthing cli as the syncthing user.
Here is an example of a `doas.conf` that works for the ansible user:
```yaml
permit nopass ansible as syncthing
```
## Role variables ## Role variables
There is a single variable to specify in the `host_vars` of your hosts: `syncthing`. This is a dict that can contain the following keys: There is a single variable to specify in the `host_vars` of your hosts: `syncthing`. This is a dict that can contain the following keys: