mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
8 lines
287 B
YAML
8 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') }}"
|