jochen
f283f55288
Add option to limit maximum number of CPUs used.
2023-06-30 23:42:27 +02:00
1d7ba78515
Merge pull request #94 from borland502/borland502-old-schedule-assert-patch
...
Fix play summary taint in legacy cron entry assertion for ansible past 2.12
2023-03-22 12:15:08 +01:00
Jeremy Hettenhouser
ba17cc6657
Update delete_legacy_cron_entry.yml
...
Fixed (SCHEDULE) (OLD) check tainting the play recap as well as the assumption that cron_delete.failed will be defined.
Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 20:18:23 -04:00
Jeremy Hettenhouser
c62e2a4027
Update delete_legacy_cron_entry.yml
...
ignore_errors:true on the old version test. While the failure will not halt execution, it will color the summary output red for every host which executes the restic role even if most of them are set to use systemd
Signed-off-by: Jeremy Hettenhouser <jhettenh@gmail.com>
2023-03-21 19:39:40 -04:00
e825ef2e29
Merge pull request #93 from johanvdw/patch-1
...
Fix minor typo
2023-03-08 10:46:55 +01:00
Johan Van de Wauw
918693eb76
Fix minor typo
2023-03-08 08:52:54 +01:00
Martin Kennedy
6459eaa161
fix: lvm: Handle cleanup after unreadable files
...
Before this commit, since restic backup exits with status 3 if it
cannot read one or more files, the LVM snapshot wasn't being cleaned
up.
Now, specially handle the 3 exit status; also, unequivocally perform
the LVM cleanup when finished.
2023-03-07 16:26:36 -05:00
Martin Kennedy
de3d35d4ec
fix: lvm: Allow / to be backed up as LVM
...
This commit causes an LVM backup target of / to be treated as /rootfs
instead.
Note that this will conflict with a path called /rootfs if we *do* try
to back that up.
Also, while we're at it, drop the -m option from mount. Not all
systems have this option.
2023-03-07 16:24:30 -05:00
4f1ed05096
Merge pull request #92 from Shipssv83/fix_path
...
fix path and configure
2023-02-25 20:51:41 +01:00
Sergey Shipilov
af1f6dcc35
fix path and configure
2023-02-25 20:29:44 +01:00
ef008b3a52
increase to restic 1.15.1
2023-02-20 17:22:50 +01:00
9cfe610337
Merge pull request #91 from varac/fix_crontab_cleanup
...
Properly respect restic_do_not_cleanup_cron
2022-11-30 10:44:32 +01:00
Varac
6bed15cfcd
Properly respect restic_do_not_cleanup_cron
2022-11-29 10:12:11 +01:00
dfef3cc26c
Merge pull request #90 from roles-ansible/lint
...
Removing broken molecule test
2022-11-06 21:10:03 +01:00
604db7c8b1
merge
2022-11-06 21:09:40 +01:00
ab58952190
Merge pull request #82 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.7
...
Bump github/super-linter from 4.9.4 to 4.9.7
2022-11-06 21:07:30 +01:00
e41e115291
Merge pull request #85 from roles-ansible/linting
...
update molecule linting
2022-11-06 21:07:08 +01:00
0935f2248b
Removing broken molecule test
2022-11-06 20:56:56 +01:00
8ae48c1caa
Merge pull request #89 from S0obi/bugfix/fix-preperation-typo
...
Fix preperation typo
2022-11-05 21:58:10 +01:00
Thibault Soubiran
ce8ab66454
Fix preperation typo
2022-11-05 21:51:25 +01:00
f22b671d34
Merge pull request #72 from roles-ansible/dependabot/github_actions/robertdebock/molecule-action-4.0.9
...
Bump robertdebock/molecule-action from 4.0.8 to 4.0.9
2022-10-06 15:19:12 +02:00
dependabot[bot]
e45cb80dcd
Bump robertdebock/molecule-action from 4.0.8 to 4.0.9
...
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action ) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/robertdebock/molecule-action/releases )
- [Commits](https://github.com/robertdebock/molecule-action/compare/4.0.8...4.0.9 )
---
updated-dependencies:
- dependency-name: robertdebock/molecule-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 13:14:37 +00:00
dependabot[bot]
ee88d77207
Bump github/super-linter from 4.9.4 to 4.9.7
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 4.9.4 to 4.9.7.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md )
- [Commits](https://github.com/github/super-linter/compare/v4.9.4...v4.9.7 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 13:13:37 +00:00
ec841d18a5
update molecule linting
2022-10-06 15:06:46 +02:00
9e7c7227d1
Merge pull request #84 from roles-ansible/linting
...
update linting
2022-10-06 14:56:23 +02:00
c705de0272
Merge pull request #83 from z-bsod/patch-1
...
README: fix repo name typo in backup example
2022-10-06 14:52:58 +02:00
e3732c72c3
update linting
2022-10-06 14:52:27 +02:00
Christoph
e1a2e05193
README: fix repo name typo in backup example
...
change the repo name from 'remove' to 'remote' to match the name used in the 'restic_repos' configuration example above.
2022-10-06 12:55:36 +02:00
62b7b7812d
Merge pull request #81 from roles-ansible/linttingtest
...
update testing
2022-09-13 19:43:55 +02:00
5ff0f0ce3e
update
2022-09-13 19:21:20 +02:00
6f5a8fcf26
Merge pull request #79 from varac/exclude_caches
...
Fix exclude-caches directive
2022-09-12 11:30:29 +02:00
Varac
fd854570cf
Fix exclude-caches directive
...
It's called --exclude-caches, not --exclude-cache
see https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files
2022-09-12 09:16:24 +02:00
Martin Kennedy
4cf66ebec4
fix: More tweaks to get snapshot-finding to work
...
Grr! this is really frustrating. We need more "tracking" for the
snapshot we created.
2022-08-28 16:19:59 -04:00
Martin Kennedy
ae270aeebd
[v2] feat: lvm: Add lvm-based backup functionality
...
This commit implements the needs of #75[^1]: it allows for the
creation of atomic backups when the backup target is a file/dir whose
fs rests on LVM. This ensures the snapshot will be atomic.
By using a mount namespace, the LVM snapshot can be done in the same
directory -- so existing LVM-based applications of ansible_role_restic
can be migrated to this implementation without any discontinuity in
what appears to be backed up.
This combination of LVM's snapshotting layer and mount namespaces
comes with some caveats:
- you cannot backup / due to namespace issues
- subdirs with a separate fs won't be correctly detected
- not all filesystems are happy about LVM snapshots -- btrfs, e.g.
- LVM snapshots come with a performance penalty when active
- fstrim and LVM snapshots don't like each other whatsoever
[^1]: https://github.com/roles-ansible/ansible_role_restic/issues/75
--
Changes in v2:
- Use `findmnt -v` to find snapshot when cleaning up
- Check for _snap before `lvremove -y`
Signed-off-by: Martin Kennedy <hurricos@gmail.com>
2022-08-28 16:12:46 -04:00
aa70e1d29c
Merge pull request #77 from Hurricos/pr-fixup-default-install-path
...
fix: defaults: Match restic_install_path value to docs
2022-08-28 11:18:47 +02:00
Martin Kennedy
4aecbbeffd
fix: defaults: Match restic_install_path value to docs
...
The README (Role Variables) asserts that `restic_install_path`
defaults to `/usr/local/bin`, when in fact it defaults to
`/usr/bin`. Fix the defaults to match the documentation.
Signed-off-by: Martin Kennedy <hurricos@gmail.com>
2022-08-27 18:36:13 -04:00
efd21f0d0a
Merge pull request #73 from rndmh3ro/monitoring
...
add a monitoring call possibility
2022-07-12 22:07:49 +02:00
Sebastian Gumprich
9f710b8a0f
add a monitoring call possibility
2022-07-12 21:25:34 +02:00
d89d649725
Merge pull request #70 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.4
...
Bump github/super-linter from 4.9.2 to 4.9.4
2022-06-06 02:22:48 +02:00
7d305d9d2b
Merge pull request #68 from roles-ansible/dependabot/github_actions/robertdebock/galaxy-action-1.2.1
...
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
2022-06-06 02:22:29 +02:00
e113e8951d
Merge pull request #67 from roles-ansible/dependabot/github_actions/robertdebock/molecule-action-4.0.8
...
Bump robertdebock/molecule-action from 4.0.7 to 4.0.8
2022-06-06 02:22:11 +02:00
dependabot[bot]
3db7ab3910
Bump github/super-linter from 4.9.2 to 4.9.4
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 4.9.2 to 4.9.4.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md )
- [Commits](https://github.com/github/super-linter/compare/v4.9.2...v4.9.4 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 09:13:51 +00:00
dependabot[bot]
5ab018ab24
Bump robertdebock/galaxy-action from 1.2.0 to 1.2.1
...
Bumps [robertdebock/galaxy-action](https://github.com/robertdebock/galaxy-action ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/robertdebock/galaxy-action/releases )
- [Commits](https://github.com/robertdebock/galaxy-action/compare/1.2.0...1.2.1 )
---
updated-dependencies:
- dependency-name: robertdebock/galaxy-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 09:09:55 +00:00
dependabot[bot]
6646c61a70
Bump robertdebock/molecule-action from 4.0.7 to 4.0.8
...
Bumps [robertdebock/molecule-action](https://github.com/robertdebock/molecule-action ) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/robertdebock/molecule-action/releases )
- [Commits](https://github.com/robertdebock/molecule-action/compare/4.0.7...4.0.8 )
---
updated-dependencies:
- dependency-name: robertdebock/molecule-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 09:11:56 +00:00
5233dfe102
Merge pull request #66 from roles-ansible/dependabot/github_actions/github/super-linter-4.9.2
...
Bump github/super-linter from 4.9.0 to 4.9.2
2022-04-04 11:47:33 +02:00
dependabot[bot]
cacabaffb0
Bump github/super-linter from 4.9.0 to 4.9.2
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 4.9.0 to 4.9.2.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md )
- [Commits](https://github.com/github/super-linter/compare/v4.9.0...v4.9.2 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 09:12:15 +00:00
1e0d0b9c92
Merge pull request #65 from roles-ansible/docs
...
improve README
2022-04-01 11:12:35 +02:00
acef0d2dbc
change ansible to use FQCN and lowercase restic_systemd_timer_default_OnCalendar
2022-04-01 11:07:52 +02:00
1121ff2511
improve README
...
thanks to @warwick-lill for the hint
CLOSE https://github.com/roles-ansible/ansible_role_restic/issues/64
2022-04-01 11:00:22 +02:00
30b45c6154
Merge pull request #63 from roles-ansible/dependabot/github_actions/robertdebock/galaxy-action-1.2.0
...
Bump robertdebock/galaxy-action from 1.1.1 to 1.2.0
2022-04-01 00:22:48 +02:00