68 lines
2.5 KiB
XML
68 lines
2.5 KiB
XML
|
<?xml version='1.0' encoding='UTF-8'?>
|
||
|
<rougail version="0.10">
|
||
|
<services>
|
||
|
<service name="grafana-server" target="multi-user">
|
||
|
<override engine="none"/>
|
||
|
<file engine="ansible">/etc/grafana/grafana.ini</file>
|
||
|
<file engine="ansible">/etc/sysconfig/grafana-server</file>
|
||
|
<file engine="none" source="tmpfile-grafana.conf">/tmpfiles.d/0grafana.conf</file>
|
||
|
</service>
|
||
|
</services>
|
||
|
<variables>
|
||
|
<family name="grafana">
|
||
|
<variable name="admin_password" type="password" description="Mot de passe de l'administrateur" hidden="True"/>
|
||
|
</family>
|
||
|
<family name="revprox">
|
||
|
<family name="revprox_client">
|
||
|
<variable name="revprox_client_local_location" redefine="True">
|
||
|
<value>/</value>
|
||
|
</variable>
|
||
|
</family>
|
||
|
<variable name="revprox_client_port" redefine="True">
|
||
|
<value>3000</value>
|
||
|
</variable>
|
||
|
<variable name="revprox_client_cert_owner" redefine="True">
|
||
|
<value>grafana</value>
|
||
|
</variable>
|
||
|
</family>
|
||
|
<family name="oauth2_client">
|
||
|
<variable name="oauth2_is_client_application" redefine='True'>
|
||
|
<value>True</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_client_name" redefine='True'>
|
||
|
<value>Grafana</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_client_description" redefine='True'>
|
||
|
<value>Visualisation de données</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_client_category" redefine='True'>
|
||
|
<value>Administration</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_client_logo" redefine='True'>
|
||
|
<value>silique_note.png</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
||
|
<value>RS256</value>
|
||
|
</variable>
|
||
|
<variable name="oauth2_email_domain" type="domainname" description="Domain name allowed to log on Grafana" mandatory="True"/>
|
||
|
</family>
|
||
|
<family name="postgresql">
|
||
|
<variable name="pg_client_key_owner" redefine="True">
|
||
|
<value>grafana</value>
|
||
|
</variable>
|
||
|
</family>
|
||
|
</variables>
|
||
|
<constraints>
|
||
|
<fill name="get_password">
|
||
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
||
|
<param name="username">admin</param>
|
||
|
<param name="description">admin</param>
|
||
|
<param name="type">cleartext</param>
|
||
|
<param name="hide" type="variable">hide_secret</param>
|
||
|
<param name="temporary" type="boolean">True</param>
|
||
|
<target>admin_password</target>
|
||
|
</fill>
|
||
|
</constraints>
|
||
|
</rougail>
|
||
|
|