Run Ansible Script
Executes an Ansible CLI Script.
Installed version: 2.13.7.
note
If there's an error in a command in the middle of the script and the last command succeeds, the entire action will succeed, not revealing that some command may have failed.
Parameters
Parameter | Description |
---|---|
Command | A single Ansible command or a batch of Ansible commands executed as a script. |
Inventory File Path | The path to the inventory file to be used as default if no inventory is given. |
Working Directory | When a working directory is selected, the filesystem state is preserved across steps that use this directory. Files and changes in the chosen directory persist across steps, ensuring continuity. For more information, refer to the Create Working Directory action documentation for guidance on setting up and selecting working directories. |