Mirror of the ansible role to set cgroup limits on a cluster

Pablo Escobar 803b9e661a fix README 8 months ago
defaults 550f23f945 first commit 8 months ago
handlers 550f23f945 first commit 8 months ago
meta 96697dd70d added stickers in README 8 months ago
molecule 550f23f945 first commit 8 months ago
tasks 550f23f945 first commit 8 months ago
templates 550f23f945 first commit 8 months ago
vars 550f23f945 first commit 8 months ago
.gitignore 550f23f945 first commit 8 months ago
.pre-commit-config.yaml 550f23f945 first commit 8 months ago
.travis.yml 58947259ec added travis config 8 months ago
.yamllint 550f23f945 first commit 8 months ago
README.md 803b9e661a fix README 8 months ago

README.md

Build Status Ansible Galaxy

ansible-role-cgroups-limits

Configure a memory cgroup limit for users in a group

This role was written to limit the amount of ram memory that a single user can allocate in a login node in an HPC cluster to avoid a single user consuming all the ram in the login node an hanging the machine.

Role Variables

cgroup_memory_limit: '10G'

cgroup_to_whom_the_limit_applies: '@users'

Dependencies

none

Example Playbook

- hosts: servers
  roles:
     - { role: ansible-role-cgroups-limits, cgroup_memory_limit: "15G" }

Requirements

None

License

GPLv3

Author Information

Pablo Escobar Lopez