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

Connect radiod with prometheus

parent b4fcde44
No related branches found
No related tags found
No related merge requests found
ETCD_OPTIONS="--etcd={% for h in groups['etcd'] | sort %}{% if not loop.first %},{% endif %}http://{{ hostvars[h].peer_ip }}:2379{% endfor %}"
RADIOD_OPTIONS="--name={{ inventory_hostname }}.{{ public_domain }} --public-ip={{ public_ip }}{% if public_ip6 is defined %} --public-ip={{ public_ip6 }}{% endif %} --peer-ip={{ peer_ip }} --domain={{ autoradio_domain }} --nameservers={{ autoradio_nameservers | join(',') }} --acme-email=info@{{ public_domain }} --acme-cert-names=s.{{ public_domain }}{% for h in groups['all'] | sort %},{{ h }}.{{ public_domain }}{% endfor %}{% for cn in ssl_additional_names | default([]) %},{{ cn }}{% endfor %}"
RADIOD_OPTIONS="--name={{ inventory_hostname }}.{{ public_domain }} --public-ip={{ public_ip }}{% if public_ip6 is defined %} --public-ip={{ public_ip6 }}{% endif %} --peer-ip={{ peer_ip }} --domain={{ autoradio_domain }} --nameservers={{ autoradio_nameservers | join(',') }} --acme-email=info@{{ public_domain }} --acme-cert-names=s.{{ public_domain }}{% for h in groups['all'] | sort %},{{ h }}.{{ public_domain }}{% endfor %}{% for cn in ssl_additional_names | default([]) %},{{ cn }}{% endfor %} --prometheus-url=http://monitor:9090"
TRANSCODERD_OPTIONS=""
......
......@@ -17,6 +17,9 @@
{% for h in groups['all']|sort %}
{{ hostvars[h].peer_ip }} {{ h }}.{{ public_domain }} {{ h }}
{% endfor %}
{% for h in groups['monitor']|sort %}
{{ hostvars[h].peer_ip }} monitor
{% endfor %}
- apt:
name: "{{ packages }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment