https://github.com/buanzo/crowdsec-plus-console
An ansible role for installing crowdsec, supporting Crowdsec Console enrollment and other features
https://github.com/buanzo/crowdsec-plus-console
Last synced: about 2 months ago
JSON representation
An ansible role for installing crowdsec, supporting Crowdsec Console enrollment and other features
- Host: GitHub
- URL: https://github.com/buanzo/crowdsec-plus-console
- Owner: buanzo
- License: mit
- Created: 2021-12-09T15:17:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T19:44:38.000Z (over 3 years ago)
- Last Synced: 2025-04-11T03:37:55.564Z (6 months ago)
- Size: 4.88 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Project cancelled. Please use [Alf149's](https://github.com/alf149/ansible/tree/main/lab/roles/security/crowdsec/tasks)
CrowdSec + Console
==================This role adds the CrowdSec PPA, then proceeds to install crowdsec per https://crowdsec.net/#join
along with crowdsec-firewall-bouncer. Optionally, it installs the
whitelist-good-actors collection. Finally, it enrolls it to the Console.Supported platforms: Debian & Ubuntu
Requirements
------------An existing account on app.crowdsec.net and the machine enroll code, found on the CrowdSec Console
dashboard, easily copy-pastable into the Role Variables (below).Role Variables
--------------crowdsec_enroll_key: A string shown in Crowdsec Console - Required
crowdsec_enroll_name: Name by which the instance will be known by. A
playbook could define it using the ansible_hostname variable.
crowdsec_whitelist_good_actors: false by default.Example Playbook
----------------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: crowdsec-plus-console
crowdsec_enroll_key: ENROLL_KEY_ID
crowdsec_enroll_name: "{{ ansible_hostname }}"
crowdsec_whitelist_good_actors: trueLicense
-------MIT
Author Information
------------------Mail buanzo at buanzo com ar