add-host-dynamic-registration

Status: IN

`ftl.add_host(name, ansible_host=, ansible_user=, groups=[])` dynamically registers a host at runtime.

Source: entries/2026/05/11/examples-06-automation-context-example_ping.md

Example

ftl.add_host(
    hostname="web01",
    ansible_host="10.0.1.5",
    groups=["webservers", "production"],
)

JSON