omsagentwindows
Ansible role to install the Microsoft Operations Manager Agent & Dependency Agent on Windows
The Microsoft Operations Manager agent connects to an Azure Operations Manager Suite (OMS) workspace, a part of the Microsoft Azure Monitor solution. The solution allows you to collect and analyze telemetry to maximize performance and availability of your resources. For more information about Azure monitor refer to the Microsoft documentation
This role installs the OMS agent and (optionally) the dependency agent.
Requirements
To make use of the agents, you need a configured OMS workspace. You need a workspace ID
and a workspace key
. For more information on how to create a workspace, consult the Microsoft documentation
Role Variables
Variable | Default | Comments (type) |
---|---|---|
workspace_id |
- | Required. The workspace ID |
workspace_key |
- | Required. The workspace Key |
purge_oms_config: False |
False |
Removes the Log Analytics agent and Installs the Log Analytics agent |
install_dependencyagent |
True |
Optional. Whether to install the dependency agent, False will remove the agent |
Dependencies
No specific dependencies.
Example Playbook
An example on how to use this role
---
- hosts: all
roles:
- svendewindt.omsagentwindows
vars:
- workspace_id: '260adb3c-007d-4704-a645-c8f2def53718'
- workspace_key: '1111254hBqVldHplArZCuBlWoy6sJtJP8XSaLPHKNQYdVtrhOuwG/w0Cuc+F9HbPLEj6AvPVUKt6i/uXWAnooQ=='
License
2-clause BSD license, see LICENSE.md
Contributors
Install
ansible-galaxy install svendewindt/ansible-role-omsagent-windows
License
other
Downloads
1111
Owner