2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version= "0.10" >
<services >
2023-06-23 08:12:05 +02:00
<service name= "forgejo" target= "multi-user" engine= "ansible" >
2023-01-03 11:36:37 +01:00
<file engine= "none" source= "sysuser-forgejo.conf" > /sysusers.d/0forgejo.conf</file>
<file engine= "none" source= "tmpfile-forgejo.conf" > /tmpfiles.d/0forgejo.conf</file>
2023-06-23 08:12:05 +02:00
<file engine= "ansible" > /etc/forgejo/app.ini</file>
<file engine= "ansible" filelist= "copy_tests" > /tests/forgejo.yml</file>
2022-03-08 19:42:28 +01:00
</service>
</services>
<variables >
2022-06-24 19:00:16 +02:00
<family name= "network" >
2022-06-29 11:44:01 +02:00
<variable name= "incoming_ports" redefine= "True" >
2022-06-24 19:00:16 +02:00
<value > 2222</value>
</variable>
</family>
2022-10-17 18:40:07 +02:00
<family name= "redis" description= "Redis" >
<variable name= "redis_client_key_owner" redefine= "True" >
2023-01-03 11:36:37 +01:00
<value > forgejo</value>
2022-10-17 18:40:07 +02:00
</variable>
</family>
2023-01-17 21:43:32 +01:00
<family name= "forgejo" description= "Forgejo" help= "Git forge Forgejo" >
2023-08-02 09:26:54 +02:00
<variable name= "forgejo_title" mandatory= "True" description= "Titre de la forge" mode= "basic" >
2023-01-17 21:43:32 +01:00
<value > Forgejo : Au-delà du développement. Nous forgeons.</value>
2022-05-23 08:49:21 +02:00
</variable>
2023-08-02 09:26:54 +02:00
<variable name= "forgejo_mail_sender" type= "mail" description= "Les courriels sont envoyés à partir de cet adresse" mandatory= "True" test= "admin@example.net" />
2023-01-03 11:36:37 +01:00
<variable name= "forgejo_secret_key" type= "password" hidden= "True" />
<variable name= "forgejo_internal_token" type= "password" hidden= "True" />
<variable name= "forgejo_lfs_jwt_secret" type= "password" hidden= "True" />
2023-08-01 18:22:01 +02:00
<variable name= "forgejo_jwt_secret" type= "password" hidden= "True" />
2022-03-08 19:42:28 +01:00
</family>
2022-12-25 17:08:52 +01:00
<family name= "revprox" >
2022-08-18 10:19:43 +02:00
<family name= "revprox_client" >
<variable name= "revprox_client_local_location" redefine= "True" >
<value > /</value>
</variable>
</family>
2022-03-08 19:42:28 +01:00
<variable name= "revprox_client_port" redefine= "True" >
<value > 3000</value>
</variable>
<variable name= "revprox_client_cert_owner" redefine= "True" >
2023-01-03 11:36:37 +01:00
<value > forgejo</value>
2022-03-08 19:42:28 +01:00
</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 > Forge</value>
</variable>
<variable name= "oauth2_client_description" redefine= 'True' >
2023-01-17 21:43:32 +01:00
<value > Forge logiciel Forgejo</value>
2022-03-08 19:42:28 +01:00
</variable>
2022-03-29 16:33:20 +02:00
<variable name= "oauth2_client_category" redefine= 'True' >
<value > Développement</value>
</variable>
<variable name= "oauth2_client_logo" redefine= 'True' >
<value > silique_note.png</value>
</variable>
2022-03-08 19:42:28 +01:00
<variable name= "oauth2_client_token_signature_algo" redefine= "True" >
<value > RS256</value>
</variable>
2022-06-24 19:00:16 +02:00
<family name= "external" >
<variable name= "oauth2_client_external" redefine= "True" remove_fill= "True" />
</family>
2022-03-08 19:42:28 +01:00
</family>
2023-01-23 20:21:42 +01:00
<family name= "postgresql" >
<variable name= "pg_client_key_owner" redefine= "True" >
<value > forgejo</value>
</variable>
</family>
2022-03-08 19:42:28 +01:00
</variables>
<constraints >
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" > secret_key</param>
2023-01-03 11:36:37 +01:00
<param name= "description" > forgejo</param>
2022-03-08 19:42:28 +01:00
<param name= "type" > cleartext</param>
2022-06-24 19:00:16 +02:00
<param name= "hide" type= "variable" > hide_secret</param>
2022-03-08 19:42:28 +01:00
<param name= "length" type= "number" > 105</param>
2023-01-03 11:36:37 +01:00
<target > forgejo_secret_key</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" > internal_token</param>
2023-01-03 11:36:37 +01:00
<param name= "description" > forgejo</param>
2022-03-08 19:42:28 +01:00
<param name= "type" > cleartext</param>
2022-06-24 19:00:16 +02:00
<param name= "hide" type= "variable" > hide_secret</param>
2022-03-08 19:42:28 +01:00
<param name= "length" type= "number" > 105</param>
2023-01-03 11:36:37 +01:00
<target > forgejo_internal_token</target>
2022-03-08 19:42:28 +01:00
</fill>
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" > lfs_jwt_secret</param>
2023-01-03 11:36:37 +01:00
<param name= "description" > forgejo</param>
2022-03-08 19:42:28 +01:00
<param name= "type" > cleartext</param>
2022-06-24 19:00:16 +02:00
<param name= "hide" type= "variable" > hide_secret</param>
2022-03-08 19:42:28 +01:00
<param name= "length" type= "number" > 43</param>
2023-01-03 11:36:37 +01:00
<target > forgejo_lfs_jwt_secret</target>
2022-03-08 19:42:28 +01:00
</fill>
2023-08-01 18:22:01 +02:00
<fill name= "get_password" >
<param name= "server_name" type= "variable" > domain_name_eth0</param>
<param name= "username" > jwt_secret</param>
<param name= "description" > forgejo</param>
<param name= "type" > cleartext</param>
<param name= "hide" type= "variable" > hide_secret</param>
<param name= "length" type= "number" > 43</param>
<target > forgejo_jwt_secret</target>
</fill>
2022-06-26 19:33:44 +02:00
<fill name= "calc_oauth2_client_login" >
2022-05-23 08:49:21 +02:00
<param type= "variable" optional= "True" > revprox_client_external_domainnames</param>
2022-03-08 19:42:28 +01:00
<param type= "variable" optional= "True" > revprox_client_location</param>
<param > user/oauth2/</param>
<param type= "variable" > domain_name_eth0</param>
<param > /callback</param>
<target > oauth2_client_login</target>
</fill>
2022-03-11 18:41:49 +01:00
<fill name= "calc_oauth2_client_external" >
2022-05-23 08:49:21 +02:00
<param type= "variable" > revprox_client_external_domainnames</param>
2022-03-08 19:42:28 +01:00
<param type= "variable" > revprox_client_location</param>
<param > user/oauth2/</param>
<param type= "variable" > domain_name_eth0</param>
<target > oauth2_client_external</target>
</fill>
</constraints>
</rougail>