{"id":19568938,"url":"https://github.com/buluma/ansible-role-ulimit","last_synced_at":"2026-05-19T03:07:26.004Z","repository":{"id":40355096,"uuid":"457165138","full_name":"buluma/ansible-role-ulimit","owner":"buluma","description":"Configure ulimit on your system.","archived":false,"fork":false,"pushed_at":"2024-07-19T00:27:12.000Z","size":95,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T22:03:50.222Z","etag":null,"topics":["ansible","ansible-role","hacktoberfest","ulimit"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buluma.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"buluma"}},"created_at":"2022-02-09T01:27:56.000Z","updated_at":"2024-07-19T00:27:15.000Z","dependencies_parsed_at":"2023-02-19T03:30:20.763Z","dependency_job_id":"9a699d28-6450-48dc-8acc-40db8ad45098","html_url":"https://github.com/buluma/ansible-role-ulimit","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/buluma/ansible-role-ulimit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-ulimit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-ulimit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-ulimit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-ulimit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buluma","download_url":"https://codeload.github.com/buluma/ansible-role-ulimit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buluma%2Fansible-role-ulimit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266770707,"owners_count":23981610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","hacktoberfest","ulimit"],"created_at":"2024-11-11T06:07:04.664Z","updated_at":"2026-05-19T03:07:25.995Z","avatar_url":"https://github.com/buluma.png","language":null,"funding_links":["https://github.com/sponsors/buluma"],"categories":[],"sub_categories":[],"readme":"# [Ansible role ulimit](#ansible-role-ulimit)\n\nConfigure ulimit on your system.\n\n|GitHub|Issues|Pull Requests|Version|Downloads|\n|------|------|-------------|-------|---------|\n|[![github](https://github.com/buluma/ansible-role-ulimit/actions/workflows/molecule.yml/badge.svg)](https://github.com/buluma/ansible-role-ulimit/actions/workflows/molecule.yml)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-ulimit.svg)](https://github.com/buluma/ansible-role-ulimit/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-ulimit.svg)](https://github.com/buluma/ansible-role-ulimit/pulls/)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-ulimit.svg)](https://github.com/buluma/ansible-role-ulimit/releases/)|[![Ansible Role](https://img.shields.io/ansible/role/d/buluma/ulimit)](https://galaxy.ansible.com/ui/standalone/roles/buluma/ulimit/documentation)|\n\n## [Example Playbook](#example-playbook)\n\nThis example is taken from [`molecule/default/converge.yml`](https://github.com/buluma/ansible-role-ulimit/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.\n\n```yaml\n---\n- name: Converge\n  hosts: all\n  become: true\n  gather_facts: false\n\n  roles:\n    - role: buluma.ulimit\n      ulimit_items:\n        - limit_item: nofile\n          domain: root\n          limit_type: soft\n          value: 1048576\n        - limit_item: nproc\n          domain: root\n          limit_type: soft\n          value: 1024\n        - limit_item: nproc\n          domain: root\n          limit_type: hard\n          value: 2048\n```\n\nThe machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/buluma/ansible-role-ulimit/blob/master/molecule/default/prepare.yml):\n\n```yaml\n---\n- name: Prepare\n  hosts: all\n  become: true\n  gather_facts: false\n\n  roles:\n    - role: buluma.bootstrap\n```\n\nAlso see a [full explanation and example](https://buluma.github.io/how-to-use-these-roles.html) on how to use these roles.\n\n## [Role Variables](#role-variables)\n\nThe default values for the variables are set in [`defaults/main.yml`](https://github.com/buluma/ansible-role-ulimit/blob/master/defaults/main.yml):\n\n```yaml\n---\n# defaults file for ulimit\n\n# Set the default domain. This can be overwritten per item.\nulimit_domain: \"*\"\n\n# Set the limit type. This can be overwritten per item.\nulimit_limit_type: soft\n\n# Set the file where to write to.\nulimit_dest: /etc/security/limits.conf\n\n# Should a backup of limits.conf be created on changes?\nulimit_backup: true\n```\n\n## [Requirements](#requirements)\n\n- pip packages listed in [requirements.txt](https://github.com/buluma/ansible-role-ulimit/blob/master/requirements.txt).\n\n## [State of used roles](#state-of-used-roles)\n\nThe following roles are used to prepare a system. You can prepare your system in another way.\n\n| Requirement | GitHub |\n|-------------|--------|\n|[buluma.bootstrap](https://galaxy.ansible.com/buluma/bootstrap)|[![Build Status GitHub](https://github.com/buluma/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions)|\n\n## [Context](#context)\n\nThis role is part of many compatible roles. Have a look at [the documentation of these roles](https://buluma.github.io/) for further information.\n\nHere is an overview of related roles:\n\n![dependencies](https://raw.githubusercontent.com/buluma/ansible-role-ulimit/png/requirements.png \"Dependencies\")\n\n## [Compatibility](#compatibility)\n\nThis role has been tested on these [container images](https://hub.docker.com/u/robertdebock):\n\n|container|tags|\n|---------|----|\n|[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|all|\n|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|\n|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|\n|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|\n\nThe minimum version of Ansible required is 2.12, tests have been done on:\n\n- The previous version.\n- The current version.\n- The development version.\n\nIf you find issues, please register them on [GitHub](https://github.com/buluma/ansible-role-ulimit/issues).\n\n## [License](#license)\n\n[Apache-2.0](https://github.com/buluma/ansible-role-ulimit/blob/master/LICENSE).\n\n## [Author Information](#author-information)\n\n[buluma](https://buluma.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fansible-role-ulimit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuluma%2Fansible-role-ulimit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuluma%2Fansible-role-ulimit/lists"}