Stay organized with collections
Save and categorize content based on your preferences.
In addition to using the Google Cloud CLI or Terraform to create
agent policies,
you can use other automation tools to manage the Ops Agent across
your fleet of Compute Engine VMs:
Ansible by using the Ansible role, you can install and configure
the agent across your fleet of Linux
and Windows VMs. For more information,
see the following resources:
Chef: by using the Chef cookbook, you can install and configure
the agent across your fleet of Linux
and Windows VMs.
For more information, see the
Chef Integration
documentation.
Puppet: by using the Puppet module, you can install and configure
the agent across your fleet of Linux
and Windows VMs.
For more information, see the
Puppet Integration
documentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Install the Ops Agent by using automation tools\n\nIn addition to using the Google Cloud CLI or Terraform to create\n\n[agent policies](/stackdriver/docs/solutions/agents/ops-agent/agent-policies-overview),\n\nyou can use other automation tools to manage the Ops Agent across\nyour fleet of Compute Engine VMs:\n\n- **Ansible** by using the Ansible role, you can install and configure the agent across your fleet of Linux and Windows VMs. For more information, see the following resources:\n - [Ansible Role for Cloud Ops](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-ansible#ansible-role-for-cloud-ops) documentation.\n - [Install the Ops Agent to troubleshoot third-party\n applications](https://www.youtube.com/watch?v=GQgNygd-XJU&t=7s) walkthrough video for deploying and configuring the Ops Agent.\n- **Chef** : by using the Chef cookbook, you can install and configure the agent across your fleet of Linux and Windows VMs. For more information, see the [Chef Integration](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-chef/blob/master/README.md) documentation.\n- **Puppet** : by using the Puppet module, you can install and configure the agent across your fleet of Linux and Windows VMs. For more information, see the [Puppet Integration](https://github.com/GoogleCloudPlatform/google-cloud-ops-agents-puppet/blob/master/README.md) documentation."]]