From 607101fec9b1162f5c5bc05f3554817ad9e6e525 Mon Sep 17 00:00:00 2001 From: Michael Pardatscher Date: Thu, 29 Oct 2020 19:18:50 +0100 Subject: [PATCH] Update README.md to match proposed changes in #254 This change refers to [this](https://github.com/DavidWittman/ansible-redis/pull/254) PR and should be merged together. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2f45592f..da39d736 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,10 @@ vars: In this case the source archive is copied to the server over SSH rather than downloaded. +### Install inside restricted environment (e.g. container) + +If Redis is to be installed inside a systemctl restricted environment, it might be neccessary to change `vm.overcommit_memory` using other means than this role. In such a case the config key `redis_inside_container` can be defined, which causes the role to skip this setting. + ### Building 32 bit binaries To build 32-bit binaries of Redis (which can be used for [memory optimization](https://redis.io/topics/memory-optimization)), set `redis_make_32bit: true`. This installs the necessary dependencies (x86 glibc) on RHEL/Debian/SuSE and sets the option '32bit' when running make.