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
Click to show internal directories.
Click to hide internal directories.