1
0
Fork 0
mirror of https://github.com/ananthb/ansible-role-scx.git synced 2026-09-20 16:26:53 +00:00
Ansible role to install sched-ext/scx userspace schedulers
Find a file
2026-01-23 12:39:09 +05:30
defaults sched-ext/scx ansiable role 2026-01-23 12:39:09 +05:30
handlers sched-ext/scx ansiable role 2026-01-23 12:39:09 +05:30
meta sched-ext/scx ansiable role 2026-01-23 12:39:09 +05:30
tasks sched-ext/scx ansiable role 2026-01-23 12:39:09 +05:30
LICENSE Initial commit 2026-01-23 12:38:26 +05:30
README.md sched-ext/scx ansiable role 2026-01-23 12:39:09 +05:30

ansible-role-scx

Ansible role to install and configure sched-ext schedulers.

Requirements

  • Linux kernel >= 6.12 with sched-ext support
  • Supported distros: Fedora 39+, Ubuntu Noble+, Debian Bookworm+, Arch Linux

Usage

- hosts: servers
  roles:
    - role: scx
      scx_scheduler: scx_rusty

Variables

Variable Default Description
scx_scheduler scx_rusty Scheduler to enable (scx_rusty, scx_lavd, scx_bpfland, etc.)
scx_install_method package Install via package or source
scx_service_enabled true Enable service at boot
scx_service_started true Start service immediately
scx_scheduler_args "" Extra arguments for the scheduler
scx_verify_kernel true Check kernel compatibility before install

Source builds only

Variable Default Description
scx_git_repo https://github.com/sched-ext/scx.git Git repository
scx_git_version main Branch/tag to build
scx_install_all_schedulers true Build all schedulers
scx_schedulers_to_install [scx_rusty, scx_lavd, scx_bpfland] Specific schedulers (when above is false)