community / community.general / 3.8.10 / connection / chroot Interact with local chroot Authors: Maykel Moya (!UNKNOWN) <mmoya@speedyrails.com>community.general.chroot (3.8.10) — connection
Install with ansible-galaxy collection install community.general:==3.8.10
collections: - name: community.general version: 3.8.10
Run commands or put/fetch files to an existing chroot on the Ansible controller.
chroot_exe: default: chroot description: - User specified chroot binary env: - name: ANSIBLE_CHROOT_EXE ini: - key: exe section: chroot_connection vars: - name: ansible_chroot_exe executable: default: /bin/sh description: - User specified executable shell env: - name: ANSIBLE_EXECUTABLE ini: - key: executable section: defaults vars: - name: ansible_executable remote_addr: default: inventory_hostname description: - The path of the chroot you want to access. vars: - name: ansible_host