Automation challenges often focus on remote endpoints, while several use cases require automating locally as well. Typical situations range from managing a personal machine, through setups where the managed fleet includes the host managing the whole, to pull-style models where each node manages itself.
Rex, the friendly automation framework supports any combination of local and remote execution. This post summarizes the main orientation points about local management.
Rex provides several options for local management to choose from, allowing authors to express their intent explicitly according to their use case at hand:
- Tasks without an explicit target
- Tasks targeting
- Override the task’s target to
- Disable SSH per task with
- Disable SSH globally with
- Running parts of a task within
- Connect to local host over SSH
Continue reading …