Add Owncloud cron
parent
04a7dcfedd
commit
017374d20d
|
@ -21,6 +21,9 @@
|
|||
name:
|
||||
- nginx
|
||||
- owncloud-files
|
||||
- redis-server
|
||||
- php-redis
|
||||
- php-apcu
|
||||
register: apt_result
|
||||
retries: 3
|
||||
until: apt_result is succeeded
|
||||
|
@ -38,6 +41,11 @@
|
|||
state: link
|
||||
notify: Restart nginx
|
||||
|
||||
- name: Copy OwnCloud cron
|
||||
template:
|
||||
src: cron.d/owncloud.j2
|
||||
dest: /etc/cron.d/owncloud
|
||||
|
||||
- name: Indicate role in motd
|
||||
template:
|
||||
src: update-motd.d/05-service.j2
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# {{ ansible_managed }}
|
||||
*/15 * * * * www-data /usr/bin/php /var/www/owncloud/occ system:cron > /dev/null 2>&1
|
Loading…
Reference in New Issue