Re: [ansible-project] Delegated cronjobs with time vars per target host

2014-04-03 Thread Brent Langston
I did this a while back, thinking I'd replace it with something more elegant when I have time... honestly, it's been working so well, I haven't thought about it again, until you reminded me. I have a script saved in my ansible git repo: $GIT/ansible/bin/cron_scheduler.sh #!/bin/bash PATH=/bin:/u

[ansible-project] Delegated cronjobs with time vars per target host

2014-04-03 Thread Martin Božič
Hi, I want to dynamically every new host to the backup server with rsnapshot. I have no problems putting SSH keys on backup target hosts and putting a template and exclude config for the target host into /etc/rsnapshot.d on backup host. The problem is when I try to add the rsnapshot cronjob f