{"id":"add-host-dynamic-registration","text":"`ftl.add_host(name, ansible_host=, ansible_user=, groups=[])` dynamically registers a host at runtime.","truth_value":"IN","source":"entries/2026/05/11/examples-06-automation-context-example_ping.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"ftl.add_host(\n    hostname=\"web01\",\n    ansible_host=\"10.0.1.5\",\n    groups=[\"webservers\", \"production\"],\n)"},"explanation":{"steps":[{"node":"add-host-dynamic-registration","truth_value":"IN","reason":"premise"}]}}