<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ansible-role-borgbackup/tasks/server_setup.yml, branch v2.0.0</title>
<subtitle>Ansible role for deploying scheduled borgbackup configurations</subtitle>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/'/>
<entry>
<title>fix: use ansible_facts for getent_passwd</title>
<updated>2026-06-28T21:18:35+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-06-28T20:51:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=1143a273413e8c3df0b4c0f553eab30acb0804f8'/>
<id>1143a273413e8c3df0b4c0f553eab30acb0804f8</id>
<content type='text'>
Replace direct usage of getent_passwd with ansible_facts.getent_passwd
in both client_setup.yml and server_setup.yml.

Ansible 2.24+ will remove the INJECT_FACTS_AS_VARS feature, requiring
explicit use of ansible_facts dictionary instead of top-level fact
variables.

Fixes deprecation warning:
  INJECT_FACTS_AS_VARS default to 'True' is deprecated, top-level facts
  will not be auto injected after the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace direct usage of getent_passwd with ansible_facts.getent_passwd
in both client_setup.yml and server_setup.yml.

Ansible 2.24+ will remove the INJECT_FACTS_AS_VARS feature, requiring
explicit use of ansible_facts dictionary instead of top-level fact
variables.

Fixes deprecation warning:
  INJECT_FACTS_AS_VARS default to 'True' is deprecated, top-level facts
  will not be auto injected after the change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Parametrize server-side borg user</title>
<updated>2026-06-28T21:18:35+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-06-28T20:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=7d96c1a11fc442b4efddf9ce5250cf0a9dfaf02e'/>
<id>7d96c1a11fc442b4efddf9ce5250cf0a9dfaf02e</id>
<content type='text'>
Adds option to choose a non-default borg backup user on the server.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds option to choose a non-default borg backup user on the server.
</pre>
</div>
</content>
</entry>
<entry>
<title>borg!: support multiple backups to same target</title>
<updated>2026-06-27T14:55:53+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-06-27T13:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=a22ff185f9836023817f9d4f8df3157b948f8cf2'/>
<id>a22ff185f9836023817f9d4f8df3157b948f8cf2</id>
<content type='text'>
This brings support for multiple backups pointing to the same borg
server, different repositories, from the same client. We support this by
parsing the SSH authorized key file first and appending allowed
repositories to allow independent definitions of the borg targets.

So that the decryption_keys do not clash we include the repository name
as well as the host in the key. This will lead to new keys being created
for existing hosts in the new format.

    Old Format: {{ combine({inventory_hostname: borg_keys.stdout}) }}
    New Format: {{ combine({(inventory_hostname ~ '_' ~ borg_repo_name): borg_keys.stdout}) }}

If upgrading from an older version that used just the hostname as the
key, your existing `decryption_keys.yml` can be manually removed once
the new format is also added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings support for multiple backups pointing to the same borg
server, different repositories, from the same client. We support this by
parsing the SSH authorized key file first and appending allowed
repositories to allow independent definitions of the borg targets.

So that the decryption_keys do not clash we include the repository name
as well as the host in the key. This will lead to new keys being created
for existing hosts in the new format.

    Old Format: {{ combine({inventory_hostname: borg_keys.stdout}) }}
    New Format: {{ combine({(inventory_hostname ~ '_' ~ borg_repo_name): borg_keys.stdout}) }}

If upgrading from an older version that used just the hostname as the
key, your existing `decryption_keys.yml` can be manually removed once
the new format is also added.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update and fix pre-commit hooks</title>
<updated>2026-06-26T20:11:18+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin@wilk.cx</email>
</author>
<published>2026-06-26T20:11:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=bd022f046651d287309b26164cd60a3d6d38471c'/>
<id>bd022f046651d287309b26164cd60a3d6d38471c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add YAMLLint rules</title>
<updated>2023-05-24T17:41:18+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-22T21:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=b892f1d7262b36e2ba895768272779571c613adf'/>
<id>b892f1d7262b36e2ba895768272779571c613adf</id>
<content type='text'>
Fix linting errors that came up with the new rules

Main changes:
* Enforce YAML document start headers
* Enforce spacing with commas, colons and hyphens
* Enforce indentation
* Enforce use of quotes only then required
* Enforce use of single quotes over double quotes
* Enforce use of true/false over yes/no and derivatives
* [..] Other minor rules that were already followed

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix linting errors that came up with the new rules

Main changes:
* Enforce YAML document start headers
* Enforce spacing with commas, colons and hyphens
* Enforce indentation
* Enforce use of quotes only then required
* Enforce use of single quotes over double quotes
* Enforce use of true/false over yes/no and derivatives
* [..] Other minor rules that were already followed

Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>init</title>
<updated>2023-05-24T17:40:29+00:00</updated>
<author>
<name>Colin Wilk</name>
<email>colin.wilk@tum.de</email>
</author>
<published>2023-05-22T18:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.wilk.cx/ansible/ansible-role-borgbackup.git/commit/?id=1f1f6eeaebc148602085515350eb12829f86c315'/>
<id>1f1f6eeaebc148602085515350eb12829f86c315</id>
<content type='text'>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Colin Wilk &lt;colin.wilk@tum.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
