Applications Manager can run Ansible playbooks automatically when an alarm is raised. Configure an Ansible control node once, then create Ansible Actions and associate them with monitors, thresholds, or alarm policies.
Ansible is an open-source automation platform for configuring systems, deploying software, and orchestrating IT tasks. Automation steps are stored in plain-text playbooks with the .yml or .yaml extension. Applications Manager connects to the control node over SSH or Telnet and runs the selected playbook with the arguments you provide.
Important: Ansible Actions open a connection to the control node and can change the state of your servers. Use playbooks and credentials with care.
ansible-playbook command must be available to the login user.-k, -K, --ask-pass, --ask-become-pass, and --ask-vault-pass are not supported in Arguments.Go to Settings > Integrations (Add-On Settings) > IT Automation and select Ansible.

/etc/ansible/playbooks. Applications Manager also scans sub-folders and accepts home-relative paths such as ~/playbooks.ansible-playbook is installed, and the playbook folder is accessible.

Use either Actions > Ansible Action or Settings > Actions > Ansible > Add New. Configure the Ansible integration before creating an action.
| Field | Description |
|---|---|
| Profile Name | Name used to identify the action in action lists and alarm associations. |
| Playbook Path | Playbook to run from the configured folder. Select the refresh icon to reload the list after adding playbooks. |
| Arguments | Optional command-line arguments appended to ansible-playbook. For example, --extra-vars severity=$SEVERITY --extra-vars monitor=$MONITORNAME. Use the tag picker to insert alarm variables. |
| Timeout (seconds) | Maximum run time from 30 to 3600 seconds. The default is 300 seconds. |
| Success notification | E-mail Action sent when the playbook completes successfully. |
| Failure notification | E-mail Action sent when the playbook fails or times out. |
| Execute Action based on Business Hours | Restricts execution to a selected Business Hours profile during or outside business hours. |

The Ansible section on the Actions page lists the profile name, playbook path, arguments, timeout, notification actions, usage, Business Hours setting, approval status, and Edit or Execute controls.
After approval, associate the action with threshold profiles, monitor or monitor-group alarms, alarm escalation, or manual execution from the Alarms page action menu. The action runs when its associated alarm is generated, subject to the configured Business Hours setting.
The full ansible-playbook output is available in Execution Logs. Applications Manager sends the configured Success or Failure E-mail Action after execution.
| Symptom | What to check |
|---|---|
| Test Configuration: Could not connect to the Ansible control node | Verify the host name or IP address, network access from the Applications Manager server, and the selected credential. |
| Test Configuration: ansible-playbook was not found | Install Ansible on the control node or add it to the PATH of the credential user. |
| Test Configuration: The playbook folder is not accessible | Verify the folder path and confirm that the credential user can read it. |
| The Playbook Path list is empty | Verify that the configured folder or its sub-folders contain .yml or .yaml files, then select the refresh icon. |
| The action is saved but never runs | Check whether the action is pending approval, disabled, outside its Business Hours window, or not associated with the alarm. |
| The action reports Timed out | Increase the timeout up to 3600 seconds or optimise the playbook. |
| Arguments are rejected | Remove interactive password options such as -k, -K, or --ask-*. Use --vault-password-file or the integration credential. |
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development