Go to file
2023-08-14 14:37:34 -07:00
defaults Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
docs/examples Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
tasks Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
tests Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
.gitignore Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
LICENSE Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00
README.md Initialize repository for Snort role. 2023-08-14 14:37:34 -07:00

Ansible Role: snort

This Ansible Role builds and installs the snort Typescript frontend assets. It is intended to be composed with a separate role for the web proxy configuration.

Tested on:

  • Archlinux
  • Ubuntu 22.04

Requirements

requirements.yml:

roles:
  - src: https://github.com/bleetube/ansible-role-nodejs
    name: bleetube.nodejs

It will set up node, npm, yarn, and n using the nodesource Debian repositories.

Dependencies

Role Variables

See the role defaults. For a working example, see this homelab stack.

Example Playbook

This role should not be run as root.

- hosts: snort
  roles:
    - role: nginxinc.nginx_core.nginx
      become: true
    - role: bleetube.snort
      tags: snort
  tasks:
    - import_tasks: nginx_conf.yml
      become: true