Torre Ansible usa PRoot que fornece uma interface legal para criar chroot
e cadeias semelhantes. Na Docs da torre eles afirmam:
3.5. Playbooks missing access to necessary data due to PRoot issues
When running a playbook that reads and writes information in certain prohibited directories, users may encounter issues with PRoot. PRoot runs the
ansible-playbook
command within achroot
jail. In cases like these, the running playbook cannot see other playbooks or sensitive data on disk and should the playbook expect to have access to that information, problems will occur. To fine tune your usage of PRoot, there are certain variables that can be set:# Enable proot support for running jobs (playbook runs only). AWX_PROOT_ENABLED = False # Command/path to proot. AWX_PROOT_CMD = 'proot' # Additional paths to hide from jobs using proot. AWX_PROOT_HIDE_PATHS = [] # Additional paths to show for jobs using proot. AWX_PROOT_SHOW_PATHS = []