Making on-demand changes with tasks
Tasks are single actions that you run on target machines in your infrastructure. You use tasks to make as-needed changes to remote systems.
You can write tasks in any programming language that can run on the targets, such as Bash, Python, or Ruby. Tasks are packaged within modules, so you can reuse, download, and share tasks on the Forge. Task metadata describes the task, validates input, and controls how the task runner executes the task.
-
Inspecting tasks
Before you run a task in your environment, inspect the task to determine what effect it will have on your targets. -
Running tasks
Bolt can run Puppet tasks on remote targets without requiring any Puppet infrastructure. -
Writing tasks
Bolt tasks are similar to scripts, but they are kept in modules and can have metadata. This allows you to reuse and share them. -
Task helpers