Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
Depending on your plugin configuration and how you run procedures, the Differences in plugin UI behavior. field may behave differently in the CloudBees CD/RO UI. For more information, refer to |
Run Ad-Hoc Command
Runs Ansible ad hoc commands. For more ad hoc commands, refer to Introduction to ad hoc commands.
The Ansible plugin does not handle interactive prompts when executing commands. However, it invokes Ansible, which uses SSH to connect to remote machines. Therefore, an implicit assumption is that SSH is configured and if the credentials are correct, no further interactive checks (such as fingerprint checks) are returned as part of the SSH login. |
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Server group |
Required. Server group to run a command. |
Command/module args |
Command to run (for example, as |
Module |
Module name to execute.
For example, |
Inventory |
Inventory host path (for example, |
Verbose? |
If selected, the output from Ansible is verbose. |
Additional parameters |
Newline-separated list of parameters to pass to the Ansible executable. |
Run Playbook
Runs Ansible playbooks.
The Ansible plugin does not handle interactive prompts when executing commands. However, it invokes Ansible, which uses SSH to connect to remote machines. Therefore, an implicit assumption is that SSH is configured and if the credentials are correct, no further interactive checks (such as fingerprint checks) are returned as part of the SSH login. |
Input parameters
Parameter | Description |
---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Ansible playbook path |
Required. Absolute path to the Ansible playbook.
For example, |
Inventory |
Inventory host path (for example, |
Tags |
Only run plays and tasks tagged with these values. Tags can be defined per line or comma-separated. |
Skip tags |
Only run plays and tasks whose tags do not match these values. Tags can be defined per line or comma-separated. |
Variables |
Define the variables to pass to Ansible playbook. Variables may be defined in JSON or as newline-separated |
Verbose? |
If selected, the output from Ansible is verbose. |
Additional parameters |
Newline-separated list of parameters to pass to the Ansible executable. |
Result property sheet |
Property sheet name to save results into. The saved results are:
|