dataset/seed/redis-client/dictionaries/23_redis.xml

34 lines
1.7 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
2022-04-28 21:48:16 +02:00
<services>
2023-06-23 08:10:03 +02:00
<service name="redis-client" target="risotto" engine="ansible">
2023-02-14 14:24:16 +01:00
<certificate authority="Redis" owner="redis_client_key_owner" owner_type="variable" server="redis_client_server_domainname">redis</certificate>
2022-04-28 21:48:16 +02:00
</service>
</services>
2022-03-08 19:42:28 +01:00
<variables>
<family name="redis" description="Redis">
2023-06-23 08:10:03 +02:00
<variable name="redis_client_server_domainname" type="domainname" description="Nom de domaine du serveur Redis" mandatory="True" supplier="Redis"/>
2023-01-17 21:43:32 +01:00
<variable name="redis_client_username" description="Nom d'utilisateur" mandatory="True" supplier="Redis:username"/>
2022-08-18 10:19:43 +02:00
<variable name="redis_client_password" type="password" description="Mot de passe de connexion" mandatory="True" supplier="Redis:password"/>
2023-07-31 15:30:32 +02:00
<variable name="redis_client_index" type="number" description="Redis index" mandatory='True' provider="Redis:index"/>
2022-10-01 19:07:42 +02:00
<variable name="redis_client_key_owner" type="unix_user" description="Key owner" mandatory="True" hidden="True">
2022-04-28 21:48:16 +02:00
<value>apache</value>
</variable>
2022-03-08 19:42:28 +01:00
</family>
</variables>
<constraints>
2022-08-18 10:19:43 +02:00
<fill name="normalize_family">
<param type="variable">domain_name_eth0</param>
2022-03-08 19:42:28 +01:00
<target>redis_client_username</target>
</fill>
2022-08-18 10:19:43 +02:00
<fill name="get_password">
<param name="server_name" type="variable">redis_client_server_domainname</param>
<param name="username" type="variable">domain_name_eth0</param>
<param name="description">redis</param>
<param name="type">cleartext</param>
<param name="hide" type="variable">hide_secret</param>
2022-03-08 19:42:28 +01:00
<target>redis_client_password</target>
</fill>
</constraints>
</rougail>