sysdiglabs / agent-ansible-collection

Ansible collection to manage the Sysdig Agent
https://galaxy.ansible.com/ui/repo/published/sysdig/agent/
4 stars 0 forks source link
ansible ansible-collection sysdig sysdig-agent

Ansible Collection - sysdig.agent

The Sysdig Ansible Collection handles the installation and configuration of the Sysdig Agent.

Configuration

Requirements

Installation

To install the Sysdig Agent with this Role you first need to install the Role from the Ansible Galaxy.

?> ansible-galaxy collection install sysdig.agent

Install a Specific Version

If a specific version of the Collection is necessary it can be installed in the following manner

?> ansible-galaxy collection install sysdig.agent:==1.1.0

Upgrade

To install the Sysdig Agent with this Role you first need to install the Role from the Ansible Galaxy.

?> ansible-galaxy collection install sysdig.agent --upgrade

Example Playbook

Once the Collection has been installed it will then be possible to use the agent_install Role in Playbooks to install and configure the Sysdig Agent.

- hosts: hosts
  become: true
  roles:
  - role: sysdig.agent.agent_install
    vars:
      configuration:
        connection:
          access_key: <your_sysdig_access_key>
          region: <your_sysdig_region>