Moloch installation, which only covers MolochCapture and MolochViewer (subject to change)
The role requires a Ubuntu distribution and was tested with the following versions:
- Ansible 2.9
- Moloch 2.0.1-1
- Ubuntu 18.04
All of the roles variables are defined in defaults/main.yml
- Moloch can be uninstalled
- Default value: false
- which version of moloch should be installed
- Default value: 2.0.1-1
- hostname / ip of elasticsearch cluster
- Default value: localhost
- Capture interface
- Default value: eth0
- BPF filter for capturing
- Default value: None
- S2S secrect for encryption of passwords in elasticsearch
- Default value: defaultpassword
- Default admin user for the viewer dashboard
- Default value: admin
- Default admin password for the viewer dashboard
- Default value: admin
Ansible needs the following packagess on the target machine to deploy the role:
- xz-utils
- python3-pexpect
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: strassi.moloch }
GPLv3