14 lines
469 B
YAML
14 lines
469 B
YAML
- name: Configure Caching and File locking
|
|
command: "{{ item }}"
|
|
loop: >
|
|
- occ config:system:set memcache.local --value '\OC\Memcache\APCu'
|
|
- occ config:system:set memcache.locking --value '\OC\Memcache\Redis'
|
|
- occ config:system:set redis --value '{"host": "127.0.0.1", "port": "6379"}' --type json
|
|
|
|
- name: Configure Log Rotation.
|
|
template:
|
|
src: "templates/log-rotation.j2"
|
|
dest: "/etc/logrotate.d/owncloud"
|
|
owner: root
|
|
group: root
|