ansible-role-snapraid
ansible-role-snapraid copied to clipboard
Changed permission for snapraid-runner.conf and added flag for cronjob
Currently the snapraid-runner.conf file is created with permission 775 thus making it world readable. This file may contain SMTP credentials which, if leaked, could grant access to the associated mail.
I also added a new variable for allowing to skip the cronjob. In my workflow i run snapraid after all my other backup tasks have executed and thus it is executed inside another cronjob.