Core tasks API

dirt itself contains a minimum of “core” tasks – only those needed to set up the remote execution environment. More interesting tasks are implemented in derivative projects.

dirt.tasks.system_info

Returns useful system information from os, sys, and socket.

dirt.tasks.system_info.execute()

get some basic system information

dirt.tasks.ping

A special task that does not return a dictionary, only a boolean. Used internally by dirt to confirm a node is accepting connections before sending it a task.

dirt.tasks.load

Returns the current short-term load average.

dirt.tasks.load.execute()

get current system load