aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJulien Dessaux2023-01-24 17:32:19 +0100
committerJulien Dessaux2023-01-24 17:32:19 +0100
commit076a4ec391ee82e171b9dd963972d9756f1e250b (patch)
tree6f5fe7889dd4d309c06ddcb11bae13904bc578a9 /content
parentSwitched theme from solarized to selenized (diff)
downloadwww-076a4ec391ee82e171b9dd963972d9756f1e250b.tar.gz
www-076a4ec391ee82e171b9dd963972d9756f1e250b.tar.bz2
www-076a4ec391ee82e171b9dd963972d9756f1e250b.zip
Updated last blog article
Diffstat (limited to 'content')
-rw-r--r--content/blog/ansible/borg-ansible-role.md1
-rw-r--r--content/blog/ansible/syncthing-ansible-role.md9
2 files changed, 10 insertions, 0 deletions
diff --git a/content/blog/ansible/borg-ansible-role.md b/content/blog/ansible/borg-ansible-role.md
index fe09c03..8efbe9e 100644
--- a/content/blog/ansible/borg-ansible-role.md
+++ b/content/blog/ansible/borg-ansible-role.md
@@ -5,6 +5,7 @@ description: The ansible role I wrote to manage my borg backups
tags:
- ansible
- backups
+ - borg
---
## Introduction
diff --git a/content/blog/ansible/syncthing-ansible-role.md b/content/blog/ansible/syncthing-ansible-role.md
index c43518c..2891061 100644
--- a/content/blog/ansible/syncthing-ansible-role.md
+++ b/content/blog/ansible/syncthing-ansible-role.md
@@ -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 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
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: