Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 3.12 KB

File metadata and controls

87 lines (67 loc) · 3.12 KB

Labextra Automation

Contribute

This directory contains Ansible automation for labextra management and operations.

Overview

The Labextra automation provides playbooks and roles for managing and configuring labextra infrastructure and services.

Roles

Role Description
auditbeat Role for auditbeat
datadog_remove Role for datadog remove
elk_build Role for elk build
email 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

Playbooks

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

Usage

Running with ansible-navigator

# Run a playbook
ansible-navigator run ELKBuild.yml

# Run in stdout mode
ansible-navigator run ELKBuild.yml -m stdout

Using roles

- hosts: target_hosts
  roles:
    - auditbeat

Requirements

  • Ansible 2.9 or higher (via ansible-navigator)
  • Required collections (see collections/requirements.yml if present)
  • Appropriate access credentials configured via environment variables

Directory Structure

Ansible-Labextra/
├── roles/              # Ansible roles
├── *.yml               # Playbooks
├── collections/        # Collection dependencies (if present)
└── ansible-navigator.yml  # Navigator configuration