Krikri::BatchScript::Step
One step to run remotely as part of a batch.
Constructors
Instance methods
The step's resolved become_flags, or nil for none. Carried so the batch DAEMON transport can refuse a group whose steps need a login-shell escalation (only the script transport's per-step sudo wrapper honours those) - see TaskExecutor#try_daemon_batch.
The become_user this step must run as, or nil for none. This is the daemon KEY: a daemon is one resident process running as one fixed user, so only steps agreeing on this value can share one daemon batch request - see TaskExecutor#run_batch_steps.
This step's full config, exactly what would be piped via stdin in the non-batched path (PluginManager#execute_remote_plugin).
The step's fully-substituted module params, carried so the batch
consumers can attach the same invocation.module_args block to the
interpreted result the non-batched path does (attach_invocation
builds it from exactly these params). nil for the loops path's
forced-ignore_errors reconstruction before forwarding.
Already resolved via PluginManager.remote_plugin_target - the
bare plugin path, or sudo -n -u <user> -- <path> if become:.
Used only by the bash-script transport below; the daemon
transport (perf item 3) dispatches
by module NAME inside an already-running process instead, and
gets its privilege from which daemon it is sent to.