Skip to main content

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

ParameterDescription
CommandA single Ansible command or a batch of Ansible commands executed as a script.
Inventory File PathThe path to the inventory file to be used as default if no inventory is given.