Ansible Jemalloc Role

A role used to install jemalloc from source and export jemalloc_lib variable

Installation

Install the role with:

git clone https://github.com/crrlcx/ansible-jemalloc.git /etc/ansible/roles/ansible-jemalloc

or

git clone https://gitlab.com/crrlcx/ansible-jemalloc.git /etc/ansible/roles/ansible-jemalloc

Usage

---
- name: Add jemalloc support
  hosts: all
  roles:
    - role: ansible-jemalloc
      jemalloc_version: 5.2.1

Role Variables

name description default
jemalloc_version jemalloc version 5.2.1

Test

Requirements:

Run tests with:

docker-compose -f test/docker-compose.yml up