Skip to content

ait-cs-IaaS/ansible-kyoushi-gather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role: Kyoushi Gather

This role can be used to gather log files, configuration files and facts about hosts used for generating data for intrusion detection system datasets.

Requirements

  • Debian or Ubuntu (18.04 or newer)

Example Playbook

- hosts: localhost
  roles:
    - kyoushi-gather
  vars:
    kyoushi_gather_logs:
      - /var/log

    kyoushi_gather_configs:
      - /etc

Example Playbook complex

- hosts: localhost
  roles:
    - kyoushi-gather
  vars:
    kyoushi_gather_rsync_use_ssh_args: true
    kyoushi_gather_logs:
      - src: /var/log
        exclude:
          - *.pcap*
        copy_links: true
        delete: true
        recursive: true
        times: true
        perms: false
    kyoushi_gather_configs:
      - src: /etc
        exclude:
          - *.bk

License

GPL-3.0

Releases

No releases published

Packages

No packages published