Skip to content

Create a hardware role

Ansible should have a hardware role.

Currently I can immediately think of two special case hardware configurations that should be documented/controlled by Ansible:

The elk docker host needs a file /etc/sysctl.d/elk.conf containing: vm.max_map_count=262144 because the default of 64K is too low for Elasticsearch to run.

The docker hardware host holding USB dongles and things needs a very special blacklist entry for modprobe or the V4L subsystem will "steal" the web-SDR application's SDR hardware.

Historically I can think of other examples of certain hardware requiring unusual firmware or special driver installations.

The role would likely consist of a one file included per hardware host wrapping weird and special configurations.