Become connection variables
You can define differentbecomeoptions for each managed node or group. You can define these variables in inventory or use them as normal variables.
For example, if you want to run all tasks asrooton a server namedwebserver, but you can only connect as themanageruser, you could use an inventory entry like this: