The ansible-role-reniced Ansible role configures reniced on Debian and Ubuntu based operating systems.
Customizations
When reniced_conf is defined, it is used as the configuration content.
Include the role using:
- name: Import role reniced
when: ansible_facts.os_family == "Debian"
ansible.builtin.import_role:
name: reniced
Variables:
reniced_conf: |
# high prio network services
0 ^apache
0 ^nfsd
0 ^ntpd
0 ^openvpn
0 ^portmap
0 ^ppp
0 ^rpc.
0 ^sshd
# medium prio network services
5 ^inn$
5 ^mysqld
# low prio network services
15i ^amavisd-new
15i ^clamd
15 ^controlchan
15 ^exim4
15 ^freshclam
15 ^innwatch
12 ^mailman
15 ^rc.news
15i ^spamd
# long running user processes (screen)
3 ^irssi
# test OOM settings
o1 bash
Author and license
Copyright (C) 2024-2026 James Cherti.
Distributed under terms of the MIT license.
Links
Related posts:
- ansible-role-apt – An Ansible role that manages the APT configuration and updates the /etc/apt/sources.list for Debian and Ubuntu systems
- quick-sdcv.el, a package that enables Emacs to function as an offline dictionary using sdcv
- Productivity: Time-saving tips for the digital age
- My Ergonomic Workstation: Enhancing Focus, Comfort, and Efficiency
- Ansible: Reintegrating /etc/rc.local in Linux systems that use Systemd as their init system
- Ansible: Installing and configuring Gitolite using Ansible for secure Git repository management
- jc-dotfiles – A collection of configuration files for UNIX/Linux systems
- Emacs Evil Mode: How to restore both the line and column number of a mark, not just the line number
- Making ‘cron’ notify the user about a failed command by redirecting its output to stderr only when it fails (non-zero exit code)
- bash-stdops – A collection of useful Bash Shell Scripts
- Gentoo Linux: Printer driver for the Brother QL-1110NWB
- Ansible: ansible-role-tuned, an Ansible role which configures tuned
- Emacs Theme: Tomorrow Night Deepblue, a beautiful theme with a deep blue background
- Installing Arch Linux onto a separate partition from an existing Debian-based distribution (Ubuntu, Debian, Linux Mint…), without using the Arch Linux installation media
- Emacs quick-fasd: Integrate Fasd for fast file and directory navigation
- Emacs .dir-locals.el – Add project path to $PYTHONPATH (Python Development in Emacs)
- A Vim function that returns all monospaced fonts (UNIX / Linux only)
- Gentoo: How to Speed Up emerge ‐‐sync
- Emacs flymake-ansible-lint.el – A Flymake backend for ansible-lint
- Pathaction, a universal Makefile for your entire filesystem: Run rule-driven commands on any file or directory