Thank you but when I run the playbook with a debug module to dispay the rep_user variable, I am expecting the /home/fval value but I display the whole instruction:in my main.yml tasks:- debug: msg="{{ rep_user }}"TASK [openhr : debug] **********************************************************ok: [localhost] => {"msg": "{{ (ansible_user == fval)|ternary('/home/' + ansible_user, ansible_user) }} "