The FTL2 Examples page provides a guided tour of FTL2's capabilities through five progressive examples, covering local execution, remote SSH, multi-host deployments, FTL modules (in-process Python execution), and event streaming. It includes prerequisites, common commands, troubleshooting, and a recommended learning path for new users.
Key Concepts
FTL2 is a Python automation framework similar to Ansible, executing modules on local and remote systems via SSH.
Examples are progressive: local → single remote host → multi-host → FTL modules → event streaming.
FTL modules execute as in-process Python (claimed 250x faster than subprocess execution), with support for remote async SSH execution, bundle building, and caching.
Gate zipapp mechanism is used for remote execution — pre-built bundles sent to remote hosts.
Inventory is YAML-based, supporting host groups (e.g., webservers, databases), group variables, and pattern matching.
Parallel execution is supported across multiple hosts.