host_file_read
Read a file or list a directory on a remote Linux host, optionally as root via sudo, while secrets like tokens, passwords, and private keys are masked.
Instructions
Read a file on a host (as root when sudo is configured) or list a directory. Secrets (SECRET_KEY, private keys, tokens, passwords) are masked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | host name from the inventory (fleet_hosts) | |
| path | Yes | absolute path | |
| maxBytes | No |