Manages rc.local in Debian-like systems.
None
rc_local_commands
: [default:[]
]: Commands to add torc.local
None
---
- hosts: all
roles:
- rc-local
---
- hosts: all
roles:
- rc-local
vars:
rc_local_commands:
- |
# transparen hugepage
if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
echo never > /sys/kernel/mm/transparent_hugepage/enabled;
fi
if test -f /sys/kernel/mm/transparent_hugepage/defrag; then
echo never > /sys/kernel/mm/transparent_hugepage/defrag;
fi
- |
# something else
MIT
- Mischa ter Smitten
Are welcome!