The Sysdig Ansible Collection handles the installation and configuration of the Sysdig Agent.
ansible-core >= 2.13
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
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
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
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>