This role will run a logsprout within a docker container. It can be used to ship logs to a remote syslog server.
You'll need docker on the target system. Make sure to install it upfront.
Default variables are defined in defaults/main.yaml
You'll need docker to run this role. One way of installing docker could be via ansible galaxy with the following dependencies set within requirements.yaml
:
roles:
- src: geerlingguy.docker
version: latest
- src: geerlingguy.pip
version: latest
Your playbook could look like this:
- hosts: localhost
become: true
roles:
- role: geerlingguy.docker
- role: geerlingguy.pip
pip_install_packages:
- name: docker
- role: ethpandaops.general.logsprout