From 0c68529bbf13290de7d515a642d6a5e6179325ba Mon Sep 17 00:00:00 2001
From: Arthur BOUDREAULT <arthur@lydra.fr>
Date: Tue, 19 Jul 2022 14:49:42 +0200
Subject: [PATCH] docs: update readme to advise to use Ansible Vault

---
 roles/ynh_backup/README-FR.md | 2 +-
 roles/ynh_backup/README.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/ynh_backup/README-FR.md b/roles/ynh_backup/README-FR.md
index 8a1a146..3a383e8 100644
--- a/roles/ynh_backup/README-FR.md
+++ b/roles/ynh_backup/README-FR.md
@@ -68,7 +68,7 @@ ynh_ssh_borg_command: "ssh_command: ssh -p 7410 -o StrictHostKeychecking=no -i {
 - `borgmatic_config_name` : **Optionnel**, nom du fichier de configuration Borgmatic.
 - `borgmatic_cron_name` : **Optionnel**, nom du fichier de tâche cron.
 - `borg_retention_policy.keep_[hourly|daily|weekly|monthly]` : Permet de régler finement le nombre d'archives récentes que le dépôt doit garder.
-- `borg_ssh_keys_src` : Chemin où se trouve le couple clé publique / privée SSH sur l'hôte Ansible.
+- `borg_ssh_keys_src` : Chemin où se trouve le couple clé publique / privée SSH sur l'hôte Ansible. Pensez à utiliser [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) pour protéger vos clés SSH.
 - `borg_ssh_keys_dest` : Chemin où va être copié la paire de clés SSH sur le serveur YunoHost.
 - `ynh_ssh_borg_command`: **Optionnel**, commande SSH personnalisée lors de l'utilisation de Borg sur un dépôt distant.
 
diff --git a/roles/ynh_backup/README.md b/roles/ynh_backup/README.md
index 3a2786e..cdbb788 100644
--- a/roles/ynh_backup/README.md
+++ b/roles/ynh_backup/README.md
@@ -67,7 +67,7 @@ borg_ssh_keys_dest: "/home/debian/.ssh/ynh_ed25519"
 - `borgmatic_config_name`: **Optional**, name of the Borgmatic configuration file.
 - `borgmatic_cron_name`: **Optional**, name of the cron task file.
 - `borg_retention_policy.keep_[hourly|daily|weekly|monthly]`: Allows you to fine-tune the number of recent archives the repository should keep.
-- `borg_ssh_keys_src`: Path to the SSH public/private key pair on the Ansible host.
+- `borg_ssh_keys_src`: Path to the SSH public/private key pair on the Ansible host. Consider using [Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html) to protect your SSH keys.
 - `borg_ssh_keys_dest`: Path where the SSH key pair will be copied to the YunoHost server.
 - `ynh_ssh_borg_command`: **Optional**, custom SSH command run when using Borg on a remote repository.
 
-- 
GitLab