Skip to content

Commit

Permalink
Adjust Borgmatic arguments for v1.7.0 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
m3nu authored Sep 3, 2022
1 parent 1def545 commit e1ba1d1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ galaxy_info:
- trusty
- xenial
- bionic
- name: Archlinux
- name: ArchLinux
versions:
- all
galaxy_tags:
Expand Down
2 changes: 2 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ platforms:
image: centos:7
- name: almalinux-8
image: almalinux:8
- name: almalinux-9
image: almalinux:9
- name: fedora-latest
image: fedora:latest
- name: debian-bullseye
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
minute: "{{ borgmatic_cron_minute }}"
user: "root"
cron_file: "{{ borgmatic_cron_name }}"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }} --create --prune"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }} -C -p"
- name: Add cron job for infrequent checks
cron:
name: "{{ borgmatic_cron_name }}-check"
Expand All @@ -102,7 +102,7 @@
minute: "{{ borgmatic_cron_checks_minute }}"
user: "root"
cron_file: "{{ borgmatic_cron_name }}"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }} --check"
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }} -k"
when: borgmatic_large_repo

- name: Add cron-job for borgmatic (normal-sized repo)
Expand Down
1 change: 1 addition & 0 deletions vars/Archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ borg_packages:
- openssh
- pkgconfig
- python-pip
- python-setuptools

python_bin: python3
pip_bin: pip3
4 changes: 2 additions & 2 deletions vars/RedHat-9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ borg_packages:
- gcc-c++
- openssl-devel
- python3-pip
- python3-wheel
# - python3-wheel
- python3-devel
- python3-setuptools
- python3-virtualenv
# - python3-virtualenv
- openssh-clients
- cronie

Expand Down

0 comments on commit e1ba1d1

Please sign in to comment.