fleet

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Command fleet is a parallel fleet task runner: point it at a list of machines and a task, and it fans out across them with a bounded pool of concurrent workers — the overnight "run this against hundreds of servers" job, with a dry-run, staged rollouts, and an audit trail.

Usage:

fleet run    -L hosts.txt -c "ping -n 1 {{.Name}}" [-P 15] [--shuffle] [--what-if]
fleet regset -L hosts.txt --hive HKLM --key "Software\Acme" --name Enabled --type REG_DWORD --data 1
fleet deldir -L hosts.txt --path "C$\Temp\junk"

Common flags (all subcommands):

-L  target list file          -P  max parallel (worker-pool cap)
-E  exclude list file         --shuffle  randomize order
--what-if  dry-run            --timeout  per-target timeout (e.g. 30s)
--stop-on-error              --transport local|ssh   --ssh-user USER

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL