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-11 09:38:05 +02:00
<variable name= "external_domain_name" type= "domainname" description= "External domain name" mandatory= "True" test= "irc.example.net" />
<variable name= "znc_crt_provider" type= "choice" description= "Type of certificate autority signing external certificate" mandatory= "True" mode= "basic" help= "The certificate can be self-signed (therefore invalid by default for the client) or obtained via the Let's Encrypt service (generally valid for the client)" >
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-11 09:38:05 +02:00
<variable name= "user_name" type= "unix_user" description= "IRC and ZNC username" mandatory= "True" test= "jdoe" />
<variable name= "user_password" type= "password" description= "ZNC user password" mandatory= "True" test= "JD0eP@ss" />
<variable name= "real_name" description= "Real IRC user name" mandatory= "True" test= "John Doe" />
2022-12-25 17:09:14 +01:00
<family name= "servers" description= "Serveurs IRC" leadership= "True" >
2023-08-11 09:38:05 +02:00
<variable name= "server_names" type= "domainname" description= "IRC domain name" multi= "True" mandatory= "True" test= "irc.oftc.net" />
<variable name= "password" type= "password" description= "IR user passwordC" mandatory= "True" test= "p@ssw0rd" />
<variable name= "port" type= "port" description= "TLS port of server IRC" mandatory= "True" hidden= "True" >
2022-12-25 17:09:14 +01:00
<value > 6697</value>
</variable>
2023-08-11 09:38:05 +02:00
<variable name= "channels" description= "IRC channels" 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>