configure_abrt: false
+Configure ``cachefilesd``. See https://tracker.ceph.com/issues/6373. Defaults to ``false``::
+
+ configure_cachefilesd: true
+
+ # Optionally override any of the following variables to change their
+ # corresponding values in /etc/cachefilesd.conf
+ cachefilesd_dir
+ cachefilesd_tag
+ cachefilesd_brun
+ cachefilesd_bcull
+ cachefilesd_bstop
+ cachefilesd_frun
+ cachefilesd_fcull
+ cachefilesd_fstop
+ cachefilesd_secctx
+
Tags
++++
Available tags are listed below:
+cachefilesd
+ Install and configure cachefilesd.
+
cpan
Install and configure cpan and Amazon::S3.
# Configure ABRT (probably only for downstream use)
configure_abrt: false
+
+# Configure cachefilesd (https://tracker.ceph.com/issues/6373)
+configure_cachefilesd: false
--- /dev/null
+---
+- name: Install cachefilesd
+ package:
+ name: cachefilesd
+ state: latest
+
+- name: Install cachefilesd conf file
+ template:
+ src: cachefilesd.j2
+ dest: /etc/cachefilesd.conf
+
+- name: Restart cachefilesd
+ service:
+ name: cachefilesd
+ state: restarted
tags:
- varlib
+- import_tasks: cachefilesd.yaml
+ when: configure_cachefilesd|bool == true
+ tags:
+ - cachefilesd
+
# Install and configure cpan and Amazon::S3
- import_tasks: cpan.yml
tags:
--- /dev/null
+dir {{ cachefilesd_dir|default('/var/cache/fscache') }}
+tag {{ cachefilesd_tag|default('mycache') }}
+brun {{ cachefilesd_brun|default('10%') }}
+bcull {{ cachefilesd_bcull|default('7%') }}
+bstop {{ cachefilesd_bstop|default('3%') }}
+frun {{ cachefilesd_frun|default('10%') }}
+fcull {{ cachefilesd_fcull|default('7%') }}
+fstop {{ cachefilesd_fstop|default('3%') }}
+secctx {{ cachefilesd_secctx|default('system_u:system_r:cachefiles_kernel_t:s0') }}