create the directory
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
fa72b2b2cb
commit
31f479d4be
1 changed files with 3 additions and 0 deletions
|
@ -32,5 +32,8 @@
|
||||||
- config
|
- config
|
||||||
- piwik
|
- piwik
|
||||||
|
|
||||||
|
- name: Create directory for db backup
|
||||||
|
file: path=/srv/dbdump state=directory
|
||||||
|
|
||||||
- name: database dump cron
|
- name: database dump cron
|
||||||
cron: name=dbdump special_time=daily job="mysqldump --skip-extended-insert piwik | gzip -9 > /srv/dbdump/piwik.sql.gz"
|
cron: name=dbdump special_time=daily job="mysqldump --skip-extended-insert piwik | gzip -9 > /srv/dbdump/piwik.sql.gz"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue