run_module
Execute Ansible modules on target hosts using the local ansible CLI, with check mode enabled by default to safely preview changes before applying.
Instructions
Run an Ansible module via local ansible CLI. Prefer check_mode=true first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| hosts | No | localhost | |
| become | No | ||
| module | Yes | ||
| timeout | No | ||
| inventory | No | ||
| check_mode | No | ||
| connection | No | ||
| become_user | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |