Skip to content

mongodb-ansible-roles/ansible-role-ulimit

Repository files navigation

Ansible role for ulimit

Sets ulimits for account

GitHub Actions GitHub Actions

Requirements

None

Role Variables

Name Description Type Default Required
ulimit_nofile_hard Hard limit on number of open files string "64000" no
ulimit_nofile_soft Soft limit on number of open files string "64000" no
ulimit_nproc_hard Hard limit on number of processes string "64000" no
ulimit_nproc_soft Soft limit on number of processes string "64000" no
ulimit_memlock_hard Hard limit on memory lock string "1024" no
ulimit_memlock_soft Soft limit on memory lock string "1024" no

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - role: ansible-role-ulimit

License

Apache License