When setting up a playbook, an automation user can be set as the user for the playbook to default run with. This is done is playbook settings.
When a playbook is called by another playbook, the called/child playbook inherits the user from the calling/parent playbook, regardless of the user assigned to the playbook settings.
This can easily be recreated in a lab and demonstrated utilizing 2 different types of automation users, one with a standard permission and one with container delete privileges.
Scenario #1:
When running in standalone mode and called to delete an object (such as a zip file), the sub-playbook set with the second automation user succeeds without issue.
Scenario #2:
When calling this playbook from a parent playbook utilizing a user with standard automation procedures, the sub-playbook fails with insufficient permissions to delete.
Set the automation user in the calling/parent playbook setting with sufficient privileges needed for both calling/parent and called/child playbooks.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |