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] env:ANSIBLE_CHROOT_EXE
var: ansible_chroot_exe
|
User specified chroot binary
|
executable
-
|
Default: "/bin/sh"
|
ini entries:
[defaults] 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]