Browse Source

rax-dns-backup : fix cron output capture

Change-Id: I560332f0b641dab1b18c88d4e4241668c903c1ec
changes/26/786326/1
Ian Wienand 1 year ago
parent
commit
b01291b832
  1. 2
      playbooks/roles/rax-dns-backup/tasks/main.yaml

2
playbooks/roles/rax-dns-backup/tasks/main.yaml

@ -26,7 +26,7 @@
cron:
name: 'Backup Rackspace DNS'
state: present
job: '/usr/local/bin/rax-dns-backup 2>&1 > /var/log/rax-dns-backup.log'
job: '/usr/local/bin/rax-dns-backup >> /var/log/rax-dns-backup.log 2>&1'
hour: '2'
minute: '0'
day: '*'

Loading…
Cancel
Save