chroot – Interact with local chroot
chroot – Interact with local chroot
Synopsis
- Run commands or put/fetch files to an existing chroot on the Ansible controller.
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
chroot_exe - added in 2.8 |
Default: "chroot" |
ini entries: [chroot_connection]exe = chroot
env:ANSIBLE_CHROOT_EXE var: ansible_chroot_exe |
User specified chroot binary |
executable - |
Default: "/bin/sh" |
ini entries: [defaults]executable = /bin/sh
env:ANSIBLE_EXECUTABLE var: ansible_executable |
User specified executable shell |
remote_addr - |
Default: "inventory_hostname" |
var: ansible_host |
The path of the chroot you want to access. |
Status
- This connection is not guaranteed to have a backwards compatible interface. [preview]
- This connection is maintained by the Ansible Community. [community]
Authors
- Maykel Moya <[email protected]>
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/plugins/connection/chroot.html