mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
- Introduced a new Chinese version of the README file (README_zh-CN.md) to enhance accessibility for Chinese-speaking users. - Updated the English README to reflect new features and installation instructions. - Added detailed documentation for project structure, playbooks, roles, tasks, and modules to improve user understanding and usability. Signed-off-by: [Your Name] <[Your Email]> Signed-off-by: redscholar <blacktiledhouse@gmail.com>
20 lines
516 B
Markdown
20 lines
516 B
Markdown
# fetch Module
|
|
|
|
The fetch module allows users to pull files from a remote host to the local machine.
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Description | Type | Required | Default |
|
|
|-----------|------------|------|---------|---------|
|
|
| src | Path of the file on the remote host to fetch | string | Yes | - |
|
|
| dest | Path on the local machine to save the fetched file | string | Yes | - |
|
|
|
|
## Usage Examples
|
|
|
|
1. Fetch a file
|
|
```yaml
|
|
- name: fetch file
|
|
fetch:
|
|
src: /tmp/src.yaml
|
|
dest: /tmp/dest.yaml
|
|
``` |