This directory contains Ansible automation for labextra management and operations.
The Labextra automation provides playbooks and roles for managing and configuring labextra infrastructure and services.
| Role | Description |
|---|---|
| auditbeat | Role for auditbeat |
| datadog_remove | Role for datadog remove |
| elk_build | Role for elk build |
| Role for email | |
| grafana_deploy | Role for grafana deploy |
| jenkins_setup | Role for jenkins setup |
| kafka | Role for kafka |
| prometheus | Role for prometheus |
| shadowman_telegraf | Role for shadowman telegraf |
| snort_build | Role for snort build |
| snort_config | Role for snort config |
| winlogbeat | Role for winlogbeat |
| Playbook | Description | Target Hosts |
|---|---|---|
| ELKBuild.yml | Playbook for ELKBuild | all |
| Elastic_restart.yml | Playbook for Elastic restart | all |
| Nodeexporter.yml | Playbook for Nodeexporter | all |
| Promgraf.yml | Playbook for Promgraf | all |
| auditbeatinstall.yml | Playbook for auditbeatinstall | all |
| datadogagentinstall.yml | Playbook for datadogagentinstall | {{ vm_name |
| datadogagentremove.yml | Playbook for datadogagentremove | {{ vm_name |
| dynatraceagent.yml | Playbook for dynatraceagent | all |
| email.yml | Playbook for email | all |
| eventautoprep.yml | Playbook for eventautoprep | all |
| jenkins.yml | Playbook for jenkins | localhost |
| kafkainstall.yml | Playbook for kafkainstall | all |
| snortbuildconfig.yml | Playbook for snortbuildconfig | all |
| telegraf.yml | Playbook for telegraf | kafka.shadowman.dev |
| windowsexporter.yml | Playbook for windowsexporter | all |
| winlogbeatinstall.yml | Playbook for winlogbeatinstall | all |
# Run a playbook
ansible-navigator run ELKBuild.yml
# Run in stdout mode
ansible-navigator run ELKBuild.yml -m stdout- hosts: target_hosts
roles:
- auditbeat- Ansible 2.9 or higher (via ansible-navigator)
- Required collections (see
collections/requirements.ymlif present) - Appropriate access credentials configured via environment variables
Ansible-Labextra/
├── roles/ # Ansible roles
├── *.yml # Playbooks
├── collections/ # Collection dependencies (if present)
└── ansible-navigator.yml # Navigator configuration