Add roles for lego, logcli, mimir, process_exporter, smokeping_prober, and vector

This commit is contained in:
2024-04-14 17:13:06 -05:00
parent ce692e4560
commit b02da06c97
51 changed files with 1417 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# {{ ansible_managed }}
[Unit]
Description=Smokeping Prober
After=network.target
[Service]
Type=simple
User={{ smokeping_prober_user }}
ExecStart={{ smokeping_prober_bin_path }} \
{% for arg in smokeping_prober_args %}
{{ arg }} {% if not loop.last %}\{% endif %}
{% if loop.last %}
{% endif %}
{% endfor %}
WorkingDirectory={{ smokeping_prober_var_path }}
TimeoutSec = 60
Restart=on-failure
RestartSec=2
AmbientCapabilities=CAP_NET_RAW
[Install]
WantedBy=multi-user.target