diff --git a/Rougail/socle/04-apero.yml b/Rougail/socle/04-apero.yml index 49d92d1..79f9021 100644 --- a/Rougail/socle/04-apero.yml +++ b/Rougail/socle/04-apero.yml @@ -30,3 +30,14 @@ env_srep: variable: socle.env_apero.access.login test: - srep + apero_password: + type: secret + hidden: true + default: + type: jinja + jinja: | + {% for value in socle.env_apero.access.login %} + {% if value == socle.env_srep.apero_user %} + {{ socle.env_apero.access.password[loop.index0] }} + {% endif %} + {% endfor %}