ansible/test/samples/lookup_password.yml
Dag Wieers 5775739437 Moving samples/ out of the root into test/
Since samples/ is used for v2 testing, it fits better into the existing test/ structure.
2016-03-11 21:59:06 +01:00

7 lines
287 B
YAML

- hosts: localhost
gather_facts: no
#vars:
# my_password: "{{ lookup('password', '/tmp/test_lookup_password length=15') }}"
tasks:
#- debug: msg="the password is {{my_password}}"
- debug: msg="the password is {{ lookup('password', '/tmp/test_lookup_password length=15') }}"