ansible.builtin.chroot (v2.9.27) — connection

Interact with local chroot

| "added in version" 1.1 of ansible.builtin"

Authors: Maykel Moya <mmoya@speedyrails.com>

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Run commands or put/fetch files to an existing chroot on the Ansible controller.

Inputs

    
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
    version_added: '2.8'
    version_added_collection: ansible.builtin

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