facts: don’t barf on missing passwords
Not everything needs them.
This commit is contained in:
parent
6c817624bc
commit
1f5d2f6238
|
@ -22,4 +22,4 @@
|
|||
|
||||
- name: Fetch passwords
|
||||
set_fact:
|
||||
password: '{{ lookup("passwordstore", ("vm/" if is_virtual else "host/")~inventory_hostname, returnall=true) | from_yaml }}'
|
||||
password: '{{ lookup("passwordstore", ("vm/" if is_virtual else "host/")~inventory_hostname, returnall=true, missing="empty") | from_yaml }}'
|
||||
|
|
Loading…
Reference in a new issue