Skip to content

Commit

Permalink
Minor doc and comment corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
tasosalvas committed May 10, 2024
1 parent c0fc632 commit 825e286
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions ansible/roles/borgbackup/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# Copyright (C) 2019-2024 DebOps https://debops.org/
# SPDX-License-Identifier: GPL-3.0-only

# Ensure that custom Ansible plugins and modules included in the main DebOps
# collection are available to roles in other collections.
collections: [ 'debops.debops' ]

dependencies: []
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/borgbackup/tasks/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
src: '/root/.config/borg_config_{{ inventory_hostname }}.tar'
dest: '{{ borgbackup__secret_base_path + "/clients/" + inventory_hostname + "/" }}'
flat: True
fail_on_missing: false
tags: [ 'role::borgbackup:config' ]

- name: Enable periodic backup jobs via cron
Expand Down
6 changes: 3 additions & 3 deletions docs/ansible/roles/borgbackup/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ The ``repo`` config ``type`` provides repository initialization and configuratio
The above will initialize all local and remote repositories with a generated
passphrase stored in :file:`secret/[hostname]/[repo]_passphrase.txt`, and back up
the host's borg keys at :file:`secret/[hostname]/borg_config_[hostname].tar` on the
passphrase stored in :file:`secret/borgbackup/clients/[hostname]/[repo]_passphrase.txt`,
and back up the host's borg keys at :file:`[hostname]/borg_config_[hostname].tar` on the
ansible controller.


Expand Down Expand Up @@ -318,7 +318,7 @@ Configuring the behavior on a single network with the default control user requi

* adding **one** controller to the ``debops_service_borgbackup_controller`` group
* all clients to the ``debops_service_borgbackup_controlled`` group
* setting ``borgmatic__service_enabled`` to ``False`` for all hosts
* setting ``borgmatic__service_enabled`` to ``False`` for all clients to be controlled


Controllers
Expand Down

0 comments on commit 825e286

Please sign in to comment.