2022-12-25 17:09:14 +01:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<rougail version="0.10">
|
|
|
|
<services>
|
|
|
|
<service name="znc" target="multi-user">
|
2023-06-23 08:12:05 +02:00
|
|
|
<override engine="none"/>
|
2023-02-14 14:24:16 +01:00
|
|
|
<certificate authority="External" owner="znc" type="server" domain="external_domain_name" provider="znc_crt_provider">znc</certificate>
|
2023-06-23 08:12:05 +02:00
|
|
|
<file mode="700" engine="ansible">/secrets/znc_passwords</file>
|
2022-12-25 17:09:14 +01:00
|
|
|
<file engine="none" source="sysuser-znc.conf">/sysusers.d/1znc.conf</file>
|
2023-06-23 08:12:05 +02:00
|
|
|
<file engine="ansible" source="tmpfile-znc.conf">/tmpfiles.d/0znc.conf</file>
|
|
|
|
<file engine="ansible" owner="znc" mode="640">/etc/znc/znc.conf</file>
|
2022-12-25 17:09:14 +01:00
|
|
|
</service>
|
|
|
|
</services>
|
|
|
|
<variables>
|
|
|
|
<family name="network">
|
|
|
|
<variable name="incoming_ports" redefine="True">
|
|
|
|
<value>5535</value>
|
|
|
|
</variable>
|
|
|
|
</family>
|
|
|
|
<family name="znc" description="IRC Bouncer ZNC">
|
2023-08-02 09:26:54 +02:00
|
|
|
<variable name="external_domain_name" type="domainname" description="Nom de domaine externe de ZNC" mandatory="True" test="irc.example.net"/>
|
2023-02-14 14:24:16 +01:00
|
|
|
<variable name="znc_crt_provider" type="choice" description="Autorité de certification signant le certificat du domaine extérieur" mandatory="True">
|
2023-08-02 09:26:54 +02:00
|
|
|
<value>self-signed</value>
|
|
|
|
<choice>self-signed</choice>
|
2023-02-14 14:24:16 +01:00
|
|
|
<choice>letsencrypt</choice>
|
|
|
|
</variable>
|
2023-08-02 09:26:54 +02:00
|
|
|
<variable name="user_name" type="unix_user" description="Utilisateur IRC et ZNC" mandatory="True" test="jdoe"/>
|
|
|
|
<variable name="user_password" type="password" description="Mot de passe de l'utilisateur ZNC" mandatory="True" test="JD0eP@ss"/>
|
|
|
|
<variable name="real_name" description="Nom d'utilisateur réel" mandatory="True" test="John Doe"/>
|
2022-12-25 17:09:14 +01:00
|
|
|
<family name="servers" description="Serveurs IRC" leadership="True">
|
2023-08-02 09:26:54 +02:00
|
|
|
<variable name="server_names" type="domainname" description="Adresse du serveur IRC" multi="True" mandatory="True" test="irc.oftc.net"/>
|
|
|
|
<variable name="password" type="password" description="Mot de passe de l'utilisateur sur le serveur IRC" mandatory="True" test="p@ssw0rd"/>
|
2022-12-25 17:09:14 +01:00
|
|
|
<variable name="port" type="port" description="Port TLS du serveur IRC" mandatory="True" hidden="True">
|
|
|
|
<value>6697</value>
|
|
|
|
</variable>
|
2023-08-02 09:26:54 +02:00
|
|
|
<variable name="channels" description="Nom des salons du serveur IRC" multi="True" mandatory="True" test="example"/>
|
2022-12-25 17:09:14 +01:00
|
|
|
</family>
|
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name="calc_value">
|
|
|
|
<param type="variable">port</param>
|
|
|
|
<param name="remove_duplicate_value" type="boolean">True</param>
|
|
|
|
<target>outgoing_ports</target>
|
|
|
|
</fill>
|
|
|
|
</constraints>
|
|
|
|
</rougail>
|