restic should log to syslog
This commit is contained in:
parent
d86b692e4f
commit
52d9dc0f57
@ -54,4 +54,4 @@
|
|||||||
weekday: "{{ item.cron.weekday | default(omit) }}"
|
weekday: "{{ item.cron.weekday | default(omit) }}"
|
||||||
user: "{{ item.cron.user | default('root') }}"
|
user: "{{ item.cron.user | default('root') }}"
|
||||||
state: "{{ item.cron.state | default('present') }}"
|
state: "{{ item.cron.state | default('present') }}"
|
||||||
job: "{{ restic_bin_path }}/restic-job {{ item.name }}"
|
job: "( {{ restic_bin_path }}/restic-job {{ item.name }} | logger --id=$$ -t restic-job -p user.info ) 2>&1 | logger --id=$$ -t restic-job -p user.err"
|
||||||
|
@ -60,4 +60,4 @@
|
|||||||
minute: "{{ 60 | random(seed=inventory_hostname) }}"
|
minute: "{{ 60 | random(seed=inventory_hostname) }}"
|
||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
job: "{{ restic_bin_path }}/restic-tidy {{ item.name }}"
|
job: "( {{ restic_bin_path }}/restic-tidy {{ item.name }} | logger --id=$$ -t restic-tidy -p user.info ) 2>&1 | logger --id=$$ -t restic-tidy -p user.err"
|
||||||
|
Loading…
Reference in New Issue
Block a user