Skip to content

Commit

Permalink
Merge pull request #6 from drybjed/role-updates
Browse files Browse the repository at this point in the history
Disable 'ssh_args', add '/lib32' to exlude list
  • Loading branch information
drybjed committed Apr 30, 2015
2 parents 5067c17 + 7380957 commit 2696a92
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changelog
=========

v0.1.5
------

*Released: 2015-04-30*

- Add ``/lib32`` directory to the list of default excluded directories.
[drybjed]

- Disable ``ssh_args`` setting on Debian Jessie due to `Debian Bug #717451`_ to
allow backups to run. It will be re-enabled when a fix is released in future
Jessie point release. [drybjed]

.. _Debian Bug #717451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717451

v0.1.4
------

Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ rsnapshot_exclude_default: |
- /cdrom
- /dev
- /lib
- /lib32
- /lib64
- /media
- /mnt
Expand Down
8 changes: 8 additions & 0 deletions templates/etc/rsnapshot/external-server/rsnapshot.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,15 @@ lockfile /var/run/rsnapshot-{{ rsnapshot_tpl_host }}.pid

# ssh has no args passed by default, but you can specify some here.
#
{% if ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie' %}
# In Debian Jessie, rsnapshot has a bug related to 'ssh_args' option,
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717451
# Until a bugfix is released, 'ssh_args' option is disabled by default to allow
# for backups to be processed
#ssh_args {{ host.ssh_args | default(rsnapshot_ssh_args | default("-p 22")) }}
{% else %}
ssh_args {{ host.ssh_args | default(rsnapshot_ssh_args | default("-p 22")) }}
{% endif %}

# Default arguments for the "du" program (for disk space reporting).
# The GNU version of "du" is preferred. See the man page for more details.
Expand Down
8 changes: 8 additions & 0 deletions templates/etc/rsnapshot/server/rsnapshot.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,15 @@ lockfile /var/run/rsnapshot-{{ rsnapshot_tpl_host }}.pid

# ssh has no args passed by default, but you can specify some here.
#
{% if ansible_distribution == 'Debian' and ansible_distribution_release == 'jessie' %}
# In Debian Jessie, rsnapshot has a bug related to 'ssh_args' option,
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717451
# Until a bugfix is released, 'ssh_args' option is disabled by default to allow
# for backups to be processed
#ssh_args {{ host.rsnapshot_ssh_args | default(rsnapshot_ssh_args | default("-p 22")) }}
{% else %}
ssh_args {{ host.rsnapshot_ssh_args | default(rsnapshot_ssh_args | default("-p 22")) }}
{% endif %}

# Default arguments for the "du" program (for disk space reporting).
# The GNU version of "du" is preferred. See the man page for more details.
Expand Down

0 comments on commit 2696a92

Please sign in to comment.