diff --git a/roles/facts/tasks/main.yml b/roles/facts/tasks/main.yml index d34a6a7..f49d5ff 100644 --- a/roles/facts/tasks/main.yml +++ b/roles/facts/tasks/main.yml @@ -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 }}'