forked from stove/dataset
80 lines
3.6 KiB
XML
80 lines
3.6 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="mailman3"> <!-- target="multi-user">-->
|
|
<override engine="ansible"/>
|
|
<file engine="ansible" owner="root" group="list" mode="640">/etc/mailman3/mailman.cfg</file>
|
|
<file engine="none" source="tmpfile-mailman.conf">/tmpfiles.d/0mailman.conf</file>
|
|
<file engine="ansible" filelist="copy_tests">/tests/mailman.yml</file>
|
|
<!--file owner="root" group="mailman" mode="640">/etc/mailman3.d/postfix.cfg</file-->
|
|
</service>
|
|
<service name="mailman3-web"> <!-- target="multi-user" engine="cheetah">-->
|
|
<override engine="ansible"/>
|
|
<certificate authority="PostgreSQL" owner="www-data" server="pg_client_server_domainname">postgresql_postorius</certificate>
|
|
<!--file engine="none">/etc/postorius/gunicorn_config.py</file>
|
|
<file engine="none" source="sysuser-postorius.conf">/sysusers.d/0postorius.conf</file-->
|
|
<file engine="ansible" source="config-nginx.conf">/etc/mailman3/nginx.conf</file>
|
|
<file engine="ansible">/etc/mailman3/mailman-web.py</file>
|
|
<file engine="none">/etc/mailman3/uwsgi.ini</file>
|
|
</service>
|
|
</services>
|
|
<variables>
|
|
<family name="mailman" description="Gestionnaire de liste">
|
|
<variable name="mailman_mail_owner" type="mail" description="Courriel du gestionnaire de liste du site"/>
|
|
<variable name="mailman_domains" type="domainname" description="Nom de domaine des listes" multi="True" mandatory="True"/>
|
|
<variable name="postorius_secret_key" type="password" description="Internal secret key" mandatory="True" hidden="True" auto_save="False"/>
|
|
</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>Liste de distribution</value>
|
|
</variable>
|
|
<variable name="oauth2_client_description" redefine='True'>
|
|
<value>Liste de distribution Mailman</value>
|
|
</variable>
|
|
<variable name="oauth2_client_category" redefine='True'>
|
|
<value>Développement</value>
|
|
</variable>
|
|
<variable name="oauth2_client_logo" redefine='True'>
|
|
<value>silique_email.png</value>
|
|
</variable>
|
|
<variable name="oauth2_client_token_signature_algo" redefine="True">
|
|
<value>RS256</value>
|
|
</variable>
|
|
<family name="external">
|
|
<variable name="oauth2_client_external" redefine="True" remove_fill="True"/>
|
|
</family>
|
|
</family>
|
|
<family name="nginx">
|
|
<variable name="nginx_default_https" redefine="True">
|
|
<value>False</value>
|
|
</variable>
|
|
<variable name="nginx_root" redefine="True">
|
|
<value>/usr/share/webapps/postorius</value>
|
|
</variable>
|
|
</family>
|
|
<family name="postgresql">
|
|
<variable name="pg_client_key_owner" redefine="True">
|
|
<value>list</value>
|
|
</variable>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<fill name="get_password">
|
|
<param name="server_name" type="variable">domain_name_eth0</param>
|
|
<param name="username">postorius</param>
|
|
<param name="description">secret_key</param>
|
|
<param name="type">cleartext</param>
|
|
<param name="hide" type="variable">hide_secret</param>
|
|
<target>postorius_secret_key</target>
|
|
</fill>
|
|
<fill name="calc_oauth2_client_external">
|
|
<param type="variable">revprox_client_external_domainnames</param>
|
|
<param type="variable">revprox_client_location</param>
|
|
<param>accounts/risotto/login/</param>
|
|
<target>oauth2_client_external</target>
|
|
</fill>
|
|
</constraints>
|
|
</rougail>
|