community.general.chroot (0.1.4) — connection

Interact with local chroot

Authors: Maykel Moya <mmoya@speedyrails.com>

Install collection

Install with ansible-galaxy collection install community.general:==0.1.4


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.4

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

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