Skip to content
Snippets Groups Projects
Commit cf8a96f8 authored by ale's avatar ale
Browse files

Add hark (a canary tcp listener)

parent 395e51c5
No related branches found
No related tags found
No related merge requests found
...@@ -51,3 +51,8 @@ ...@@ -51,3 +51,8 @@
- hosts: data-exchange - hosts: data-exchange
roles: roles:
- data-exchange - data-exchange
- hosts: hark
roles:
- hark
---
# Keep services.common.yml in sync with this variable.
hark_ports:
- 23
- 79
- 88
- 111
- 161
- 631
- 1080
- 6000
- 8000
- 8080
---
- listen: restart hark
systemd:
name: hark.service
state: restarted
---
- name: Install hark package
apt:
name: hark
state: present
- name: Configure har
template:
src: hark.default.j2
dest: "/etc/default/hark"
notify: restart hark
PORTS="{% for port in hark_ports %}--port {{ port }} {% endfor %}"
...@@ -214,3 +214,24 @@ data-exchange: ...@@ -214,3 +214,24 @@ data-exchange:
- name: data-exchange - name: data-exchange
port: 5792 port: 5792
scheme: http scheme: http
hark:
scheduling_group: all
monitoring_endpoints:
- job_name: hark
port: 9419
scheme: http
systemd_services:
- hark.service
ports:
- 23
- 79
- 88
- 111
- 161
- 631
- 1080
- 6000
- 8000
- 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment