You can register a host with an Ansible playbook by using registration templates and set up various integration features and host tools during the registration process.
Procedure
-
Use the
{ansible-namespace}.registration_commandmodule.For more information, see the Ansible module documentation with
ansible-doc {ansible-namespace}.registration_command.