rougail-tutorials/Ansible/inventory/group_vars/all/apero.yml
Emmanuel Garette 00a8e0fe00 [tutorial Ansible 2.2] calculed variable
Apero configuration
===================

Get password from an user
2023-12-18 11:34:34 +01:00

5 lines
172 B
YAML

---
env_srep_all:
apero_user: "{{ env_srep.apero_user }}"
apero_password: "{{ (env_apero.access | selectattr('login', 'equalto', env_srep.apero_user))[0].password }}"