Hi,
Apart from the fact that set_fact is a task on its own and register captures the result of a task, is there any difference between the resulting variables’ scope or lifecycle (or anything else) for example.
Thanks,
Steve
Hi,
Apart from the fact that set_fact is a task on its own and register captures the result of a task, is there any difference between the resulting variables’ scope or lifecycle (or anything else) for example.
Thanks,
Steve
Fundamentally they do the same thing, though “register” applies to task results.
They enter into the same per-inventory-host scope.