- hosts: all
vars:
value: "{{ lookup('password', '{{ zuul.executor.work_root }}/test.newpassword') }}"
tasks:
- debug: msg="value is {{ value }}"