Skip to content

Commit 18bd064

Browse files
authored
fix/mount-condition-scope (#185) (#186)
2 parents c978467 + 35fa808 commit 18bd064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
password: "{{ lookup('env', 'PASSWORD') }}"
5151
mount: "{{ mount }}"
5252
when:
53-
- PROXMOX_PASSWORD is defined and PROXMOX_PASSWORD != ''
53+
- lookup('env','PROXMOX_PASSWORD') | default('', True) | length > 0
5454
- not (share | default(false) | bool)
5555
- mount is defined
5656
tags: mounts

0 commit comments

Comments
 (0)