In this small tutorial I'll describe the steps required to install the Logentries agent using Ansible. This tutorial assumes you have some basic knowledge about Ansible and how to use playbooks and roles. If you're unfamiliar with these topics please consult the Ansible documentation.
Consider the following directory structure, representing an example playbook as starting point, based on the Ansible best practices:
.
|-- group_vars