Skip to content

Memcached role#

This role installs and configures Memcached.

It uses git_based_config to configure memcached.

This role assumes that the configure.yml playbook was run before, especially for setting up the firewall rules (to open port 11211 if needed).

Defaults#

---
# where is the configurations git root path (eg /opt/openfoodfacts-infrastructure/)
memcached__configurations_git_root_path: ""

memcached__git_config_path: "{{ memcached__configurations_git_root_path }}/confs/{{ inventory_hostname }}/memcached"
memcached__git_config_path_systemd: "{{ memcached__configurations_git_root_path }}/confs/{{ inventory_hostname }}/systemd/system"
memcached__exporter_version: "0.15.5"