web-logs: Move sync cron job to rclone role
This commit is contained in:
parent
4a291d7552
commit
061fe4da54
1 changed files with 1 additions and 8 deletions
|
@ -17,6 +17,7 @@
|
|||
- import_role:
|
||||
name: rclone
|
||||
vars:
|
||||
local_user: logsync
|
||||
remote_user: logsync
|
||||
hostgroup: webservers
|
||||
destination: /var/cache/sync-http-logs
|
||||
|
@ -30,11 +31,3 @@
|
|||
group: logsync
|
||||
with_items:
|
||||
- /var/cache/sync-http-logs
|
||||
|
||||
- name: add log sync cron job
|
||||
cron:
|
||||
name: sync-http-logs
|
||||
user: logsync
|
||||
hour: "3"
|
||||
minute: "0"
|
||||
job: /usr/local/bin/sync-http-logs
|
||||
|
|
Loading…
Add table
Reference in a new issue