blob: b40c465754cc288ccda3323c579068b0ee69568e (
plain)
1
2
3
4
5
6
7
8
9
10
|
- hosts: all
tasks:
- copy:
content: 'an_example_password'
dest: "{{zuul.executor.work_root}}/test.password"
- hosts: all
vars:
value: "{{ lookup('password', '{{zuul.executor.work_root}}/test.password') }}"
tasks:
- debug: msg="value is {{ value }}"
|